This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Net; | |
public class ApiRequest | |
{ | |
readonly static WebClient WebClient = new WebClient(); | |
public static string GetJson(Uri uri) | |
{ | |
return WebClient.DownloadString(uri); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Net; | |
public class ApiRequest | |
{ | |
readonly static WebClient WebClient = new WebClient(); | |
public static string GetJson(Uri uri) | |
{ | |
return WebClient.DownloadString(uri); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Net; | |
public class ApiRequest | |
{ | |
readonly static WebClient WebClient = new WebClient(); | |
public static string GetJson(Uri uri) | |
{ | |
return WebClient.DownloadString(uri); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Net; | |
public class ApiRequest | |
{ | |
readonly static WebClient WebClient = new WebClient(); | |
public static string GetJson(Uri uri) | |
{ | |
return WebClient.DownloadString(uri); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Net; | |
public class ApiRequest | |
{ | |
readonly static WebClient WebClient = new WebClient(); | |
public static string GetJson(Uri uri) | |
{ | |
return WebClient.DownloadString(uri); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Bit Munkey", | |
"title": "Mascot and Waterboy", | |
"location": "Tamarindo, Costa Rica", | |
"website_link": "https://coderbits.com", | |
"bio": "Born in the lush jungles of the Guanacaste region of Costa Rica, Bit Munkey enjoys surfing, scuba diving, vine swinging, and of course ... bananas!", | |
"created": "2012-08-24T18:40:43Z", | |
"updated": "2013-08-22T18:35:52Z", | |
"views": 4540, | |
"rank": 4386, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Include the following CSS and Javascript in your page --> | |
<link href="https://coderbits.com/content/widget/coderbits.css" media="all" rel="stylesheet" type="text/css"> | |
<script src="https://coderbits.com/content/widget/coderbits.js"></script> | |
<!-- Place the following in the page where you want the widget to render and set your username --> | |
<section id="coderbits" data-coderbits-username="<your username>"></section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Algolia.Search; | |
using Newtonsoft.Json.Linq; | |
using System.Collections.Generic; | |
using System.Threading.Tasks; | |
namespace Algolia.Search | |
{ | |
/// <summary> | |
/// Helper class for making it simpler to work with an index. | |
/// </summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -i https://api.github.com | |
HTTP/1.1 302 Found | |
Server: nginx/1.0.12 | |
Date: Mon, 20 Feb 2012 11:15:49 GMT | |
Content-Type: text/html;charset=utf-8 | |
Connection: keep-alive | |
Status: 302 Found | |
X-RateLimit-Limit: 5000 | |
ETag: "d41d8cd98f00b204e9800998ecf8427e" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"description": "GitHub API access and OAuth connect support for the github.com API", | |
"has_wiki": true, | |
"svn_url": "https://github.com/scottksmith95/CSharp.GitHub", | |
"open_issues": 0, | |
"language": "C#", | |
"watchers": 1, | |
"fork": false, | |
"homepage": "", |
OlderNewer