Closed jcsalterego closed 12 years ago
This commit adds an optional Grackle::Client.new(:uri_extension=>false) which allows for accessing endpoints without extensions (useful for non-Twitter).
For example, getting to fictional JSON endpoint http://example.org/jsonblah?foo=bar
Grackle::Client::TWITTER_API_HOSTS[:example] = "example.org" client = Grackle::Client.new(:api=>:example, :uri_extension=>false) results = client.jsonblah? :foo=>:bar
This commit adds an optional Grackle::Client.new(:uri_extension=>false) which allows for accessing endpoints without extensions (useful for non-Twitter).
For example, getting to fictional JSON endpoint http://example.org/jsonblah?foo=bar