Skip to content

thinkery/sample-ruby

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

sample-ruby

How to access the thinkery API using Ruby.

Our sample program can be used to add a thing:

$ ruby -rubygems add-thing.rb
{"_id":"31293a4c1cb602d812621129","title":"test thing","date":1359560000,"tags":["foo","bar"]}

(the response is the raw output from the api, which shows the thing that has been added successfully)

Requirements

To use the API, you must create your API keys at https://thinkery.me/api/apps/

Also the oauth2 library is being used. You can install it like this:

gem install oauth2

About

How to access the thinkery API using Ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages