Create gh-pages branch via GitHub
This commit is contained in:
43
index.html
43
index.html
@@ -20,36 +20,41 @@
|
|||||||
|
|
||||||
<section class="main-content">
|
<section class="main-content">
|
||||||
<h3>
|
<h3>
|
||||||
<a id="welcome-to-github-pages" class="anchor" href="#welcome-to-github-pages" aria-hidden="true"><span class="octicon octicon-link"></span></a>Welcome to GitHub Pages.</h3>
|
<a id="welcome-untappdnet" class="anchor" href="#welcome-untappdnet" aria-hidden="true"><span class="octicon octicon-link"></span></a>Welcome Untappd.Net</h3>
|
||||||
|
|
||||||
<p>This automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:</p>
|
<p>This is a simple C# Wrapper over the <a href="https://untappd.com/">Untappd API</a></p>
|
||||||
|
|
||||||
<pre><code>$ cd your_repo_root/repo_name
|
|
||||||
$ git fetch origin
|
|
||||||
$ git checkout gh-pages
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<p>If you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.</p>
|
|
||||||
|
|
||||||
<h3>
|
<h3>
|
||||||
<a id="designer-templates" class="anchor" href="#designer-templates" aria-hidden="true"><span class="octicon octicon-link"></span></a>Designer Templates</h3>
|
<a id="getting-help" class="anchor" href="#getting-help" aria-hidden="true"><span class="octicon octicon-link"></span></a>Getting Help</h3>
|
||||||
|
|
||||||
<p>We've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.</p>
|
<p>You can find help from us by visiting <a href="https://gitter.im/tparnell8/Untappd.Net">our chat room</a>, reading the <a href="https://untappd.com/api/docs">untappd api docs</a>, or by submitting issues.</p>
|
||||||
|
|
||||||
<h3>
|
<h3>
|
||||||
<a id="rather-drive-stick" class="anchor" href="#rather-drive-stick" aria-hidden="true"><span class="octicon octicon-link"></span></a>Rather Drive Stick?</h3>
|
<a id="getting-started" class="anchor" href="#getting-started" aria-hidden="true"><span class="octicon octicon-link"></span></a>Getting Started</h3>
|
||||||
|
|
||||||
<p>If you prefer to not use the automatic generator, push a branch named <code>gh-pages</code> to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.</p>
|
<p>Before you use our wrapper you need an API key, and secret. You will have to request that from the Untappd guys. Once you have that its as simple as calling the repository with the correct request. <strong><em>Note</em></strong> some parts of the Untappd API require an oauth token, which you can get with other <a href="https://github.com/RockstarLabs/OwinOAuthProviders">oauth providers</a>. Our library does have a AuthenticationHelper class which can help you generate the various url's needed to interact with Untappd's API.</p>
|
||||||
|
|
||||||
|
<div class="highlight highlight-csharp"><pre>
|
||||||
|
<span class="pl-k">var</span> ts = <span class="pl-k">new</span> UnAuthenticatedUntappdCredentials(<span class="pl-s"><span class="pl-pds">"</span>key<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>secret<span class="pl-pds">"</span></span>);
|
||||||
|
<span class="pl-k">var</span> t = <span class="pl-k">new</span> Repository().Get<UserDistinctBeers>(ts, <span class="pl-s"><span class="pl-pds">"</span>tparnell<span class="pl-pds">"</span></span>);
|
||||||
|
<span class="pl-k">var</span> t = <span class="pl-k">new</span> Repository().Get<BeerInfo>(ts, <span class="pl-s"><span class="pl-pds">"</span>BeerIdHere<span class="pl-pds">"</span></span>);
|
||||||
|
</pre></div>
|
||||||
|
|
||||||
|
<p>Post and/or Action requests are similar.</p>
|
||||||
|
|
||||||
|
<div class="highlight highlight-csharp"><pre>
|
||||||
|
<span class="pl-k">var</span> ts = <span class="pl-k">new</span> AuthenticatedUntappdCredentials(<span class="pl-s"><span class="pl-pds">"</span>token<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>key<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>secret<span class="pl-pds">"</span></span>);
|
||||||
|
<span class="pl-k">var</span> checkin = <span class="pl-k">new</span> CheckIn(<span class="pl-s"><span class="pl-pds">"</span>-5<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>EST<span class="pl-pds">"</span></span>, <span class="pl-c1">1044097</span>) { Shout = <span class="pl-s"><span class="pl-pds">"</span>Awesome Brew<span class="pl-pds">"</span></span>, Rating = <span class="pl-c1">4</span> };
|
||||||
|
<span class="pl-k">var</span> response = repository.Post(ts, checkin);
|
||||||
|
</pre></div>
|
||||||
|
|
||||||
<h3>
|
<h3>
|
||||||
<a id="authors-and-contributors" class="anchor" href="#authors-and-contributors" aria-hidden="true"><span class="octicon octicon-link"></span></a>Authors and Contributors</h3>
|
<a id="authors-and-contributors" class="anchor" href="#authors-and-contributors" aria-hidden="true"><span class="octicon octicon-link"></span></a>Authors and Contributors</h3>
|
||||||
|
|
||||||
<p>You can <a href="https://github.com/blog/821" class="user-mention">@mention</a> a GitHub username to generate a link to their profile. The resulting <code><a></code> element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (<a href="https://github.com/defunkt" class="user-mention">@defunkt</a>), PJ Hyett (<a href="https://github.com/pjhyett" class="user-mention">@pjhyett</a>), and Tom Preston-Werner (<a href="https://github.com/mojombo" class="user-mention">@mojombo</a>) founded GitHub.</p>
|
<ul>
|
||||||
|
<li>Tommy Parnell (<a href="https://github.com/tparnell8" class="user-mention">@tparnell8</a>)</li>
|
||||||
<h3>
|
<li>Rodrigo P Reis (<a href="https://github.com/rodkings" class="user-mention">@rodkings</a>)</li>
|
||||||
<a id="support-or-contact" class="anchor" href="#support-or-contact" aria-hidden="true"><span class="octicon octicon-link"></span></a>Support or Contact</h3>
|
</ul>
|
||||||
|
|
||||||
<p>Having trouble with Pages? Check out the documentation at <a href="https://help.github.com/pages">https://help.github.com/pages</a> or contact <a href="mailto:support@github.com">support@github.com</a> and we’ll help you sort it out.</p>
|
|
||||||
|
|
||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<span class="site-footer-owner"><a href="https://github.com/tparnell8/Untappd.Net">Untappd.net</a> is maintained by <a href="https://github.com/tparnell8">tparnell8</a>.</span>
|
<span class="site-footer-owner"><a href="https://github.com/tparnell8/Untappd.Net">Untappd.net</a> is maintained by <a href="https://github.com/tparnell8">tparnell8</a>.</span>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"name":"Untappd.net","tagline":"C# Wrapper over untappd api","body":"### Welcome to GitHub Pages.\r\nThis automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:\r\n\r\n```\r\n$ cd your_repo_root/repo_name\r\n$ git fetch origin\r\n$ git checkout gh-pages\r\n```\r\n\r\nIf you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.\r\n\r\n### Designer Templates\r\nWe've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.\r\n\r\n### Rather Drive Stick?\r\nIf you prefer to not use the automatic generator, push a branch named `gh-pages` to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.\r\n\r\n### Authors and Contributors\r\nYou can @mention a GitHub username to generate a link to their profile. The resulting `<a>` element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.\r\n\r\n### Support or Contact\r\nHaving trouble with Pages? Check out the documentation at https://help.github.com/pages or contact support@github.com and we’ll help you sort it out.\r\n","google":"UA-48128396-2","note":"Don't delete this file! It's used internally to help with page regeneration."}
|
{"name":"Untappd.net","tagline":"C# Wrapper over untappd api","body":"### Welcome Untappd.Net\r\n\r\nThis is a simple C# Wrapper over the [Untappd API](https://untappd.com/)\r\n\r\n### Getting Help\r\n\r\nYou can find help from us by visiting [our chat room](https://gitter.im/tparnell8/Untappd.Net), reading the [untappd api docs](https://untappd.com/api/docs), or by submitting issues.\r\n\r\n### Getting Started\r\n\r\nBefore you use our wrapper you need an API key, and secret. You will have to request that from the Untappd guys. Once you have that its as simple as calling the repository with the correct request. ***Note*** some parts of the Untappd API require an oauth token, which you can get with other [oauth providers](https://github.com/RockstarLabs/OwinOAuthProviders). Our library does have a AuthenticationHelper class which can help you generate the various url's needed to interact with Untappd's API.\r\n\r\n```csharp\r\n\r\nvar ts = new UnAuthenticatedUntappdCredentials(\"key\", \"secret\");\r\nvar t = new Repository().Get<UserDistinctBeers>(ts, \"tparnell\");\r\nvar t = new Repository().Get<BeerInfo>(ts, \"BeerIdHere\");\r\n\r\n```\r\n\r\nPost and/or Action requests are similar.\r\n\r\n\r\n```csharp\r\n\r\nvar ts = new AuthenticatedUntappdCredentials(\"token\", \"key\", \"secret\");\r\nvar checkin = new CheckIn(\"-5\", \"EST\", 1044097) { Shout = \"Awesome Brew\", Rating = 4 };\r\nvar response = repository.Post(ts, checkin);\r\n\r\n```\r\n\r\n### Authors and Contributors\r\n* Tommy Parnell (@tparnell8)\r\n* Rodrigo P Reis (@rodkings)","google":"UA-48128396-2","note":"Don't delete this file! It's used internally to help with page regeneration."}
|
||||||
Reference in New Issue
Block a user