I am trying to post a blob to the GitHub API in JavaScript / jQuery as per the docs  https://developer.github.com/v3/git/blobs/#create-a-blob - however I keep receiving a 404 request  My current request in JavaScript looks like so:  var uploadURL =&#...
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...
I'm trying to get an access token from Github using a NodeJS client.  const axios = require("axios"); var jwt = require("jsonwebtoken");  exports.openedPOST = function openedPOST(req, res) {  // generate jwt const now = Math.round...
GitHub's new GraphQL API requires authentication with a token as the previous version. So, how do we add a 'Header' information into the HttpLink inside Apollo-Client?  const client = new ApolloClient({   link: new HttpLink({ uri: 'ht...
I want to do statistic analysis of a year with Github accounts.   With Events, I can get people's last 30 events (like push and star). API v3 provides paging with at most 10 pages, so I can get the latest 300 events.  But for an active user, 300...
I want to get all public github repositories of given user from github. I tried to make it with GET request I read from here. When i try it with curl or in the browser everything is fine, but when I run this code is gives me http 403 status code    v...
I have a website written with AngularJS that I have wrapped in end-to-end tests with Protractor. On this site, I have several links to GitHub repositories for said website.  I have several end-to-end tests that click those links and verify that they...
I'm trying to print out the repos count of each angular organisation member on GitHub. I already succeeded to print all of the usernames, but I can't print the repos and don't know what causes it.  Here's my HTML:  <!DOCTYPE html&g...
I'm learning REST api for github and trying to create a new repository by running a JS. Here is my function for creating a new repo: the token is generated, and all access/scopes is granted for my token.   function createNewRepo(userId, name){...
The following is probably almost what I need to be doing. But this is written in Python, and I'm not grasping some of the details:  How to get all repositories of a specific GitHub user.  This is my code so far:  function loadRepositories() {...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.