pius / oauthex

Wrapper for elixir to use erlang-oauth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Oauthex

A wrapper around erlang-oauth for elixir.

Example

See bin/twitter.mxs for a quick example. To use this script:

elixir --erl '-pa ebin -pa deps/*/ebin' bin/twitter.mxs <consumer key> <consumer_secret>

You will see an url, hit it with your browser and authorize the app. Then execute the command shown:

elixir --erl '-pa ebin -pa deps/*/ebin' bin/twitter.mxs <consumer key> <consumer_secret> <token> <secret>

Trying the track in the twitter streaming api:

elixir --erl '-pa ebin -pa deps/*/ebin' bin/twitter.mxs <consumer_key> <consumer_secret> <token> <secret> track <word>

License

This software is under the Apache 2 License. See the LICENSE file for more details.

About

Wrapper for elixir to use erlang-oauth

License:Apache License 2.0


Languages

Language:Elixir 100.0%