Skip to content

Instantly share code, notes, and snippets.

View mcrider's full-sized avatar

Matt Crider mcrider

View GitHub Profile
#!/usr/bin/env ruby
require 'rubygems'
require 'FasterCSV'
require 'httparty'
require 'json'
class GitHub
include HTTParty
base_uri 'https://api.github.com'
@mcrider
mcrider / index.php
Created September 5, 2012 21:09 — forked from mattbenic/index.php
PHP script to bulk import issues to a GitHub repo from a .json file
<?php
/* PHP script to bulk import issues in json format from a file to a GitHub repository
*
* The json in the uploaded file should contain an array of issues at the top level.
* Fields in the json mapped to the issue title and body (nothing else is supported)
* are specified in the submission form.
*
* Depends on the php-github-api from here: https://github.com/ornicar/php-github-api
*/