Skip to content
Browse files

Added the endpoint for twitters upload api

  • Loading branch information...
1 parent 6b3b59f commit d2451805a19e7ae15bb46504330517b8178b3e45 Brennon Loveless committed
Showing with 2 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +1 −1 lib/grackle/client.rb
View
1 .gitignore
@@ -1,3 +1,4 @@
+.idea
.project
.loadpath
.DS_Store
View
2 lib/grackle/client.rb
@@ -86,7 +86,7 @@ def params
# refer to it wherever Grackle::Client uses an API symbol. You may wish
# to do this when Twitter introduces API versions greater than 1.
TWITTER_API_HOSTS = {
- :search=>'search.twitter.com', :v1=>'api.twitter.com/1'
+ :search=>'search.twitter.com', :v1=>'api.twitter.com/1', :upload=>'upload.twitter.com/1'
}
TWITTER_API_HOSTS[:rest] = TWITTER_API_HOSTS[:v1]

0 comments on commit d245180

Please sign in to comment.
Something went wrong with that request. Please try again.