Sha256: 6dd7b4d4fae47f6c1836b6766947b66780bc12492a08c854990d31f2af2bc0e1

Contents?: true

Size: 1.95 KB

Versions: 8

Compression:

Stored size: 1.95 KB

Contents

## Examples

* [Amazon Book Search](aaws.rb)
    * Httparty included into poro class
    * Uses `get` requests
    * Transforms query params to uppercased params

* [Google Search](google.rb)
  * Httparty included into poro class
  * Uses `get` requests

* [Crack Custom Parser](crack.rb)
    * Creates a custom parser for XML using crack gem
    * Uses `get` request

* [Create HTML Nokogiri parser](nokogiri_html_parser.rb)   
    * Adds Html as a format
    * passed the body of request to Nokogiri
    
* [More Custom Parsers](custom_parsers.rb)
  * Create an additional parser for atom or make it the ONLY parser
  
* [Basic Auth, Delicious](delicious.rb)
  * Basic Auth, shows how to merge those into options
  * Uses `get` requests
  
* [Passing Headers, User Agent](headers_and_user_agents.rb)
  * Use the class method of Httparty
  * Pass the User-Agent in the headers
  * Uses `get` requests
  
* [Basic Post Request](basic.rb)
    * Httparty included into poro class
    * Uses `post` requests

* [Access Rubyurl Shortener](rubyurl.rb)
  * Httparty included into poro class
  * Uses `post` requests
  
* [Add a custom log file](logging.rb)
  * create a log file and have httparty log requests

* [Accessing StackExchange](stackexchange.rb)
  * Httparty included into poro class
  * Creates methods for different endpoints
  * Uses `get` requests
  
* [Accessing Tripit](tripit_sign_in.rb)
  * Httparty included into poro class
  * Example of using `debug_output` to see headers/urls passed
  * Getting and using Cookies
  * Uses `get` requests
  
* [Accessing Twitter](twitter.rb)
  * Httparty included into poro class
  * Basic Auth
  * Loads settings from a config file 
  * Uses `get` requests
  * Uses `post` requests
  
* [Accessing WhoIsMyRep](whoismyrep.rb)
  * Httparty included into poro class
  * Uses `get` requests     
  * Two ways to pass params to get, inline on the url or in query hash

* [Rescue Json Error](rescue_json.rb)
  * Rescue errors due to parsing response

Version data entries

8 entries across 7 versions & 3 rubygems

Version Path
httparty-0.14.0 examples/README.md
simplenet-client-0.2.0 ./vendor/bundle/ruby/1.9.1/gems/httparty-0.13.7/examples/README.md
simplenet-client-0.2.0 ./vendor/bundle/ruby/2.0.0/gems/httparty-0.13.7/examples/README.md
httparty-0.13.7 examples/README.md
httparty-0.13.6 examples/README.md
httpserious-0.13.5.lstoll1 examples/README.md
httparty-0.13.5 examples/README.md
httparty-0.13.4 examples/README.md