GitHub public data as a service
This service provides easy way to retrieve 2 public data from GitHub without creating access token:
Send GET request to https://octopub.now.sh/profile/:username
Example:
curl -H "Accept: application/json" https://octopub.now.sh/profile/pveyes
Response type:
type PublicProfileResponse = {
username: string
name?: string
bio?: string
site?: string
}
Send GET request to https://octopub.now.sh/repo/:owner/:repo
Example:
curl -H "Accept: application/json" https://octopub.now.sh/repo/pveyes/octopub
Response type:
type PublicRepoResponse = {
description: string
link?: string
watchCount: number
starCount: number
forkCount: number
}
- Data retrieved using this service won't be as complete as GitHub API
- Providing same result with GitHub API is non goal
MIT