Skip to content

SpiRelli90/SketchFetch

Repository files navigation

SketchFetch - a C++ Sketchfab Wrapper

Sketchfab

SketchFetch is a C++ Wrapper for Sketchfab. It can:

  • Search for models using every Parameter provided by Sketchfab
  • Handle authentication
  • Download models and extract them

Simple example

To start a simple search, a SketchFetch object is created. An optional result type is returned. You can iterate over the results.

 SketchFetch fetcher{};
 if(auto results = fetcher.search({.q = "Bunny"})){
    for(auto &res: *results){
        fmt::print("{}\n",res);     //Print the whole result object
        fmt::print("{}\n",res.name) //Print only the name
    }
 }

More detailed examples are in the PROGRAMMING document.

Building and installing

See the BUILDING document.

Licensing

SketchFetch uses the MIT License GitHub

About

A C++ Wrapper for Sketchfab

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published