gdpm/examples/rest_api
David J. Allen 807aa8e5b2 Implemented parallel downloads through CURL multi interface and added purge command
- Update `README.md` file with examples
- Fixed error messages showing no or wrong message
- Changed the prompt message when installing, removing, etc.
- Changed how http::request works
- Added `http::multi` class for parallel downloads
- Removed separate `concepts.hpp` file
TODO: Fix ZIP not extracting after running the `install` command
2023-07-10 20:26:15 -06:00
..
main.cpp More refactoring and bug fixes 2023-05-27 11:28:58 -06:00
README.md Implemented parallel downloads through CURL multi interface and added purge command 2023-07-10 20:26:15 -06:00

GDPM HTTP Example

This is an example showing how to use the GDPM HTTP library to download files. The library uses RapidJSON to get results.

Here is a quick snippet to get started:

// Get a full list of assets
rest_api::context context = rest_api::make_context();
rapidjson::Document doc = http::get_asset_list(
	"https://godotengine.org/asset-library/api",
	context
)
// ... parse the rapidjson::Document