zaidakram / expedia

Expedia is a ruby wrapper for EAN (Expedia Affiliate Network)
http://zaidakram.github.io/expedia/
MIT License
48 stars 29 forks source link

How to send a post request for get_list? #2

Closed super-engineer closed 11 years ago

super-engineer commented 11 years ago

I wnt to fetch more than 200 results. Expedia document says you need to sent post request for that. Please help me with this.

zaidakram commented 11 years ago

You can use pagination for more results see http://developer.ean.com/docs/hotel_list section 'Paging for More Hotels'. But if you want more that 200 results in single request, then I am afraid POST request is not supported right now. I am going to take a look at it in 48-hours time.

If that is too long for you then, you can implement it and send me a pull request. I'll take a look at it. Pull Requests are always welcome.