git,curl,github,github-api
I am trying to use github api to create organization and repositories instead of creating them manually. I was looking at this site which talks about how to create repositories under a particular organization. My github instance url is like this - https://github.host.com And I want my repository to be...

github,put,github-api
I'm trying to star a repository using the GithubAPI. This is done via a PUT request to /user/starred/:owner/:repo. I attempted to implement this feature in python using the requests library, but it isn't working. Here is a minimum working example: The constant are defined as GITHUB_API = api.github.com, GITHUB_USER =...

go,github-api
I am very new to Go and am having issues printing out all releases for a given repo using the go-github api. I am adapting my code from the example in the project here. This is the code I have so far. package main import ( "fmt" "github.com/google/go-github/github" "golang.org/x/oauth2" )...

github,vbscript,github-api
I am trying to authenticate on the GitHub API via Basic Authentication using MSXML2.XMLHTTP. I understand that I need to pass my credentials using the Authorization HTTP header. So this is my code, but it always returns unauthenticated. (As per the GitHub API documentation, with a 404 / Not Found)....

oauth,callback,github-api,electron
I have set up github's Electron with ReactJs. So I got a BrowserWindow and a react app playing nicely in that window. What I'm trying to achieve is to get authenticated with GitHub. So when a user presses the Login with Github button, a new BrowserWindow opens and goes to...

git,curl,github,github-api
I am trying to use github api to create repositories under a particular organization. I was looking at this site which talks about how to create repositories under a particular organization. Create a new repository in this organization. The authenticated user must be a member of the specified organization. POST...

git,api,url,github,github-api
Take this very simple API as example, https://api.github.com/users/zhuhuihuihui In the JSON formatted response, you'll find something like following, "following_url":"https://api.github.com/users/zhuhuihuihui/following{/other_user}", "gists_url": "https://api.github.com/users/zhuhuihuihui/gists{/gist_id}", "starred_url": "https://api.github.com/users/zhuhuihuihui/starred{/owner}{/repo}", Ok, I know like the following_url, starred_url is something like a sub API which you can call to fetch who that user are following, or what repos...

github,github-api
It is possible integrate github with a custom application that track issues? This custom issue tracker is developed by people that is not involved with github development, but can code some plugin or feature that provides a pattern to refer a external issue. The pattern can be #I or something...

github,github-api
I want to make download link for latest version of my application from GitHub tags. But I can not use GitHub releases, only just tags to make the new version. So I want an universal link to the latest tag zipball. I already did that with jQuery and GitHub API,...

javascript,html,ajax,github,github-api
I am trying to add to my website a download link to the latest github release of a project. For example the link https://github.com/mongodb/mongo/archive/r3.0.0-rc7.zip does link to the latest release (as of today), but I do not want to hard-code the version number on the web site. I found several...

github,github-api
We use GitHub flow as branching strategy which means that anything in master is the result of a merged pull request. It's trivial to get the last commit by doing the following. GET https://api.github.com/repos/:org/:repo/git/refs/heads/master However it seems non-trivial to work out the pull request that caused this commit. Is it...

ruby-on-rails,oauth,github-api
I am using the oauth gem to authenticate users through GitHub. I'm trying to get the person's username and avatar url. I can't find, or completely missed, where in the scopes I can get access to these things. This is from my user model and my initializer file: # omniauth.rb...

rest,github,github-api
According to GitHub API documentation, the default scope is read-only access to public profile data, but you have to specify the scope user:email to get private email addresses. How can I get both? I can't see any explicit parameter to get public profile data as well as email addresses (user:email).

node.js,ember.js,express,oauth,github-api
I'm pretty new to Express.js and the Github OAuth api and running into a wall. The flow I've got going is, the user clicks on a link from the Ember.js application which points to a route on the Express server. Which redirects to the Github oauth route. router.route('/oauth') .get(function(req, res){...

git,github,github-api
How can I create a github pull request for a project that I haven't checked out using the github api. I want to automate simple changes to repositories, that I need not check out first. I simply want to pull a file from raw.githubusercontent.com modify it and create said pull...

github-api
I am using github apis to export a list of issues for a selected repository. For this, I am using python script. After getting a list of issues, I'd create a csv file. I just wanted to know if there is a way to extract all the issues at once...

javascript,ajax,github-api
Hi so first time working with APIs like this. Anyways, I've been reading up on the GitHub API and came across this: READMEs support custom media types for retrieving the raw content or rendered HTML. src: https://developer.github.com/v3/repos/contents/#get-the-readme Which I believe means that it is possible to retrieve an HTML formatted...

github,github-api
If a user renames a repository from foo/bar.git to foo/baz.git via GitHub's UI, how can I detect this via the API? Currently, I get a 404 if I call the API like this: GET /repos/foo/bar How can I find the new repository name?...

javascript,meteor,github-api
This is my first Meteor program and I'm trying to make an http call to Github. I'm facing an error which goes like this: Exception in delivering result of invoking 'getUserInfo': ["click button"]/<@http://localhost:3000/helloMeteor.js?823f404b37c246a7d23ae50a10c37969e426b2b8:18:17 Meteor.bindEnvironment/<@http://localhost:3000/packages/meteor.js?43b7958c1598803e94014f27f5f622b0bddc0aaf:983:17 [email protected]://localhost:3000/packages/ddp.js?d1840d3ba04c65ffade261f362e26699b7509706:3860:7...

javascript,php,github-api
I'm currently writing a small database of git reps and im wondering how i would go ahead and get the date of the latest commit if i have the rep listed in my database. I've never worked with the github API and im having a bit of a hard time...

git,github,github-api,githooks
I have two GitHub repositories. I'd like to automatically (probably using hooks and/or github API) commit and push files to the second repository when they are pushed to the first one. The second repository is not a clone of the first one, their folder layout is not necessarily the same...

github-api
I am trying to get the list of all my github repositories using this API. https://api.github.com/users/<user>/repos/?access_token=<auth_token> This API returns only public repositories and not the private ones too though I am adding auth_token as a query parameter. Thanks for your help....

github-api
From the doc, I can list repositories being starred using: GET /users/:username/starred But it seems that I can't directly get the count of total starred repos of a user. Am I missing something?...

api,github,github-api,badge
I have build a resume page for my self, and list all my projects there by using GitHub API. Some of the project are document which have rtfd build passing badge, some are python projects which have travis-ci and pep-lint badges. Now, I want to display the badges as with...

json,django,github,github-api
I'm working on making a site that allows login with Github and I'm using Django for this. I've gotten as far as redirecting the user to the github authorization page, and then redirecting the user to another part of my project after successful authorization. My question is then: How do...

python,github,github-api,pygit2
Right now I am able to traverse through the commit tree for a github repository using pygit2 library. I am getting all the commits for each file change in the repository. This means that I am getting changes for text files with extensions .rtf as well in the repository. How...

javascript,json,github,dojo,github-api
Basically I am trying to update a file on Github using the api. When I do this in Poster it works no problem and I get a response from the server. When sending the exact same params in an xhr put request however, I receive a 400: Bad request error...

git,curl,github,github-api
I am trying to use github api to create repositories under a particular organization. I was looking at this site which talks about how to create repositories under a particular organization. My github instance url is like this - https://github.host.com And I want my repository to be like this after...

github,markdown,github-api,github-flavored-markdown
On GitHub Flavored Markdown you can write something like: - [ ] Subtask 1 - [ ] Subtask 2 - [x] Subtask 3 This will render as a list of three checkboxes, the last one checked. That also gives a nice bonus to Issues listing as it includes a progress...

git,github,github-api
I am not able to understand how the below thing works: I run the "GET /orgs/octokit/repos" command in the terminal and nothing happens. It's supposed to get list of repositories. I am sure I am not doing the correct way. Can somebody please explain why this command doesn't work? Example:...

github-api
https://api.github.com/search/issues?q=stress+test+label:bug+language:python+state:closed the above query is suppose to return 76 results, and when I try to run it, it only returns 30. I guess GitHub return results in portions when it is over 30. Any idea how I can get the rest of the results? ...

github,github-api
I'm having trouble with an application I'm building that keeps track of some github repos via github API. When I manually move or rename a project (on github) that my app is tracking, I lose it (by getting a 404 when I call the old api url). I do notice...