Sample Code

Unauthenticated APIs are fairly easy to use: just hit a URL and get useful data back. Miso is an authenticated API, which can be a little bit trickier. If you're not familiar with OAuth, read more about it here. Most languages have libraries that make it easy to access APIs that are authenticated using OAuth; commonly used libraries are listed here. The sections below contain notes and examples using these OAuth libraries for a few languages.

Ruby

The sample application in the Getting Started Guide uses the Ruby OAuth Gem.

Python

Sample code to access the Miso API using Python can be found at Gomiso-Python by Mathieu Feulvarch.

Javascript

Sample code to access the Miso API (with xAuth) using Python can be found at Gomiso-Javascript by Mathieu Feulvarch.

PHP

Sample code to access the Miso API using PHP can be found here. Andrea Usuelli also wrote a guide to using the Miso API using PHP, which can be found here. Also, check out Gomiso-xAuth by Mathieu Feulvarch.

ASP.NET

Dan Hounshell wrote a useful ASP.NET guide for interacting with the Miso API in C#. Thanks, Dan!

Still need help?

To get more help, check out our support page here.