{"id":20820922,"url":"https://github.com/hubgit/libapi","last_synced_at":"2025-05-07T16:05:08.420Z","repository":{"id":582909,"uuid":"216225","full_name":"hubgit/libapi","owner":"hubgit","description":"A PHP library and collection of adaptors for web service APIs","archived":false,"fork":false,"pushed_at":"2014-01-05T12:00:16.000Z","size":1016,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-07T16:02:27.812Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"skelterjohn/go.matrix","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hubgit.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-06-02T07:12:49.000Z","updated_at":"2022-09-03T08:36:59.000Z","dependencies_parsed_at":"2022-07-08T05:10:53.508Z","dependency_job_id":null,"html_url":"https://github.com/hubgit/libapi","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/hubgit%2Flibapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubgit%2Flibapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubgit%2Flibapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubgit%2Flibapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hubgit","download_url":"https://codeload.github.com/hubgit/libapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252912993,"owners_count":21824065,"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-11-17T22:10:44.433Z","updated_at":"2025-05-07T16:05:08.366Z","avatar_url":"https://github.com/hubgit.png","language":"PHP","readme":"A collection of classes for accessing web APIs.\n\nEach API may provide several standard (below) or non-standard methods.\n\n* analyse: sentiment analysis\n\n* bookmarks: a list of bookmarks for the given identifier\n\n* citedby: citation counts for an identifier\nReturns ((int) citedbycount, (string) url for citedby page) if successful.\n\n* content: fetch content\nStores items in an output folder if defined, otherwise returns an array of items.\n\n* entities: extract entities from a string of text (or sometimes XML)\nReturns ((array) entities, (array) references): a list of entities found in the text and their positions.\n\n* geocode: a port of Simon Willison's geocoders http://github.com/simonw/geocoders/\nReturns ((string) place_name, ((float) lat, (float) lon)) if the string can be geocoded.\n\n* metadata: metadata about an object, given an identifier\n\n* search: search results for a given term\nReturns ((array) search results, (array) metadata about the results e.g. the total number of results).\n\n===\n\nREQUIRES PHP 5\n\nTo get started, copy Config-example.php to Config.php and add in your own API keys/database credentials.\n\nSee the scripts in the 'test' folder for an example of how to call a particular class of APIs.\n\n===\n\nExamples:\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubgit%2Flibapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhubgit%2Flibapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubgit%2Flibapi/lists"}