Skip to content

durdyev/githubapicpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GITHub API C++ implementation

This is a C++ implementation of GITHub API. This API was built for my goals, may be not full api. But you can change source code for your goals under Apache 2.0 License.

Doxygen documentation available here https://codedocs.xyz/durdyev/githubapicpp/

Dependecies

You need to install CURL and RapidJSON

Installation

$ cmake .
$ make
$ sudo make install

Example

#include <iostream>
#include <githubapicpp/GitHubAPI.h>

int main(void)
{
    githubapicpp::GitHubAPI api("your_client_id",
                                "your_secret");
    githubapicpp::User user = api.getUser("durdyev");
    std::cout << user.getName() << std::endl;
    return 0;
}

About

GitHub Rest API V3 C++, CURL, rapidjson implementation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published