https://github.com/dblock/artsy-feathers
A set of examples that tweet artworks and shows retrieved from the Artsy API.
https://github.com/dblock/artsy-feathers
Last synced: about 1 year ago
JSON representation
A set of examples that tweet artworks and shows retrieved from the Artsy API.
- Host: GitHub
- URL: https://github.com/dblock/artsy-feathers
- Owner: dblock
- License: mit
- Created: 2013-04-26T14:08:20.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2014-01-21T13:37:54.000Z (over 12 years ago)
- Last Synced: 2025-02-10T14:12:57.786Z (over 1 year ago)
- Language: Ruby
- Size: 894 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Artsy Feathers
==============
[](https://travis-ci.org/dblock/artsy-feathers)
Artsy Feathers is a set of examples that combine [Artsy Ruby client](https://github.com/artsy/artsy-ruby-client) and the [Twitter Ruby client](https://github.com/sferik/twitter) to tweet artworks and shows.
Follow on Twitter
-----------------
The [Artsy Shows](https://twitter.com/artsy_shows) BOT tweets new shows and will respond to queries that contain "show near [location]" directed at it. Follow [Artsy Shows on Twitter](https://twitter.com/artsy_shows).
 
Running
-------
Please note that Artsy currently doesn't have a public API program. API keys are required to run this sample. Email engineering@artsy.net and we'll notify you when this is available.
### Twitter
* [Register an Application](https://dev.twitter.com/apps/new).
* Change Access Level in Settings to Read/Write.
* Create an Access Token.
* Note the consumer key, secret, OAuth token and token secret.
### Artsy
* Note the Artsy application client id and client secret.
### Run
```
TWITTER_CONSUMER_KEY=...
TWITTER_CONSUMER_SECRET=...
TWITTER_OAUTH_TOKEN=...
TWITTER_OAUTH_TOKEN_SECRET=...
ARTSY_API_CLIENT_ID=...
ARTSY_API_CLIENT_SECRET=...
bundle exec ruby examples/tweet_new_shows.rb
```
Examples
--------
* [Tweet a New Artwork](examples/tweet_new_artwork.rb)
* [Tweet New Shows](examples/tweet_new_shows.rb)
* [Tweet Show Near Location](examples/tweet_show_near.rb)
* [Tweet Featured Posts](examples/tweet_featured_posts.rb)
* [Tweet Popular Searches](examples/tweet_popular_searches.rb)
Contributing
------------
Fork the project. Make your feature addition or bug fix with tests. Send a pull request. Bonus points for topic branches.
Copyright and License
---------------------
MIT License, see [LICENSE](http://github.com/dblock/mongoid-scroll/raw/master/LICENSE.md) for details.
(c) 2013-2014 [Daniel Doubrovkine](http://github.com/dblock), [Artsy](http://artsy.net)