Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Any REST client can be used to invoke the FindTweets APITestAPI. For Curl, use the following command to invoke the FindTweets APIit.

curl -v -H "Authorization: Bearer xxxxx" http://localhost:8280/twitteryoutube/1.0.0/search.atom?q=wso2most_popular
Replace the 'xxxx' with the application key obtained earlier. If the right key is passed, the API Manager will route the call to 'youtube.com' and get you an Atom feed consisting of all the recent Tweets tagged with the keyword 'wso2'.the results. You can similarly access various other feeds in the YouTube API by changing the last segment of the invoked URL. For example, http://localhost:8280/youtube/1.0.0/top_rated, http://localhost:8280/youtube/1.0.0/most-shared etc.
You now have an introductory understanding of how to create and publish APIs through the API Publisher Web application, and how API consumers can use the API Store to subscribe to an API and invoke it. The proceeding chapters of this documentation provide detailed information on the API Manager, its components along with samples and tutorials.