{"id":15683539,"url":"https://github.com/gumb0/cpp-instagram","last_synced_at":"2025-05-07T13:06:24.715Z","repository":{"id":152184079,"uuid":"21736870","full_name":"gumb0/cpp-instagram","owner":"gumb0","description":"C++ wrapper for Instagram REST API","archived":false,"fork":false,"pushed_at":"2014-11-06T12:46:16.000Z","size":507,"stargazers_count":10,"open_issues_count":7,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-07T13:06:19.224Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gumb0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-11T13:23:22.000Z","updated_at":"2024-12-16T08:12:25.000Z","dependencies_parsed_at":"2023-04-09T06:53:29.865Z","dependency_job_id":null,"html_url":"https://github.com/gumb0/cpp-instagram","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gumb0%2Fcpp-instagram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gumb0%2Fcpp-instagram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gumb0%2Fcpp-instagram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gumb0%2Fcpp-instagram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gumb0","download_url":"https://codeload.github.com/gumb0/cpp-instagram/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252883204,"owners_count":21819160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T17:06:50.966Z","updated_at":"2025-05-07T13:06:24.692Z","avatar_url":"https://github.com/gumb0.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"cpp-instagram\n=============\n\nC++ client library for Instagram REST API.\n\nOnly some of the APIs are supported now.\n\nHas been built with MS Visual Studio Express 2013 (see solution and project files in msvc directory), but contains no platform dependencies and should be easily portable.\n\n\nrequirements\n-------\n\n* boost/format http://www.boost.org/doc/libs/1_55_0/libs/format/\n* libcurl http://curl.haxx.se/libcurl/\n* jsoncpp https://github.com/open-source-parsers/jsoncpp\n* Google Mock for tests https://code.google.com/p/googlemock\n\nsample code\n----\n``` cpp\n#include \"cpp-instagram/AuthenticatedClient.h\"\n#include \"cpp-instagram/Exception.h\"\n\nusing namespace Instagram;\n\nvoid downloadPopularImages()\n{\n    try\n    {\n        AuthenticatedClientPtr client = CreateAuthenticatedClient(userToken);\n\n        MediaList medias = client-\u003egetPopularMedias();\n\n        for (MediaPtr media : medias)\n        {\n            const std::string id = media-\u003egetId();\n            media-\u003egetImages()-\u003egetStandardResolution()-\u003edownload(id + \".jpg\");\n        }\n    }\n    catch (const Exception\u0026 e)\n    {\n        std::cerr \u003c\u003c e.getMessage() \u003c\u003c std::endl;\n    }\n}\n  \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgumb0%2Fcpp-instagram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgumb0%2Fcpp-instagram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgumb0%2Fcpp-instagram/lists"}