PHP Classes

File: phpGithubServiceArray.php

Recommend this page to a friend!
  Classes of Mat Jung  >  Github PHP API Library  >  phpGithubServiceArray.php  >  Download  
File: phpGithubServiceArray.php
Role: Application script
Content type: text/plain
Description: AssociativeArray gh mapping between service name and api url
Class: Github PHP API Library
Get responses to requests to the Github API
Author: By
Last change:
Date: 2 years ago
Size: 2,468 bytes
 

Contents

Class file image Download
<?php
namespace php\github;

$gh["current_user_url"] = "https://api.github.com/user";
$gh["current_user_authorizations_html_url"] = "https://github.com/settings/connections/applications{/client_id}";
$gh["authorizations_url"] = "https://api.github.com/authorizations";
$gh["code_search_url"] = "https://api.github.com/search/code?q={query}{&page,per_page,sort,order}";
$gh["commit_search_url"] = "https://api.github.com/search/commits?q={query}{&page,per_page,sort,order}";
$gh["emails_url"] = "https://api.github.com/user/emails";
$gh["emojis_url"] = "https://api.github.com/emojis";
$gh["events_url"] = "https://api.github.com/events";
$gh["feeds_url"] = "https://api.github.com/feeds";
$gh["followers_url"] = "https://api.github.com/user/followers";
$gh["following_url"] = "https://api.github.com/user/following{/target}";
$gh["gists_url"] = "https://api.github.com/gists{/gist_id}";
$gh["hub_url"] = "https://api.github.com/hub";
$gh["issue_search_url"] = "https://api.github.com/search/issues?q={query}{&page,per_page,sort,order}";
$gh["issues_url"] = "https://api.github.com/issues";
$gh["keys_url"] = "https://api.github.com/user/keys";
$gh["label_search_url"] = "https://api.github.com/search/labels?q={query}&repository_id={repository_id}{&page,per_page}";
$gh["notifications_url"] = "https://api.github.com/notifications";
$gh["organization_url"] = "https://api.github.com/orgs/{org}";
$gh["organization_repositories_url"] = "https://api.github.com/orgs/{org}/repos{?type,page,per_page,sort}";
$gh["organization_teams_url"] = "https://api.github.com/orgs/{org}/teams";
$gh["public_gists_url"] = "https://api.github.com/gists/public";
$gh["rate_limit_url"] = "https://api.github.com/rate_limit";
$gh["repository_url"] = "https://api.github.com/repos/{owner}/{repo}";
$gh["repository_search_url"] = "https://api.github.com/search/repositories?q={query}{&page,per_page,sort,order}";
$gh["current_user_repositories_url"] = "https://api.github.com/user/repos{?type,page,per_page,sort}";
$gh["starred_url"] = "https://api.github.com/user/starred{/owner}{/repo}";
$gh["starred_gists_url"] = "https://api.github.com/gists/starred";
$gh["user_url"] = "https://api.github.com/users/{user}";
$gh["user_organizations_url"] = "https://api.github.com/user/orgs";
$gh["user_repositories_url"] = "https://api.github.com/users/{user}/repos{?type,page,per_page,sort}";
$gh["user_search_url"] = "https://api.github.com/search/users?q={query}{&page,per_page,sort,order}";
?>

For more information send a message to info at phpclasses dot org.