Title: use it with an api
Last modified: August 22, 2016

---

# use it with an api

 *  Resolved [beltex](https://wordpress.org/support/users/beltex/)
 * (@beltex)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/use-it-with-an-api/)
 * Can it be osible to use this to get api data from a curl request?
 * such as
    curl -i -H “Accept: application/json” -H “Content-Type: application/
   json” -H “X-Auth-Token: secret” -X GET [http://api.somedomain.eu:7541/v1/accounts/54s54dfs5f45sf4](http://api.somedomain.eu:7541/v1/accounts/54s54dfs5f45sf4)
 * [https://wordpress.org/plugins/wp-web-scrapper/](https://wordpress.org/plugins/wp-web-scrapper/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Akshay Raje](https://wordpress.org/support/users/akshay_raje/)
 * (@akshay_raje)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/use-it-with-an-api/#post-5217084)
 * Yes you can. If you leave the selector black, it will by default return the whole
   content returned by the API. To parse the content, you may need to use a callback
   function and to send X-Auth-Token you would need to use postargs.
 * Check more details about this in the manual: [https://wordpress.org/plugins/wp-web-scrapper/other_notes/](https://wordpress.org/plugins/wp-web-scrapper/other_notes/)

Viewing 1 replies (of 1 total)

The topic ‘use it with an api’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-web-scrapper.svg)
 * [WP Web Scraper](https://wordpress.org/plugins/wp-web-scrapper/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-web-scrapper/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-web-scrapper/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-web-scrapper/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-web-scrapper/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-web-scrapper/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Akshay Raje](https://wordpress.org/support/users/akshay_raje/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/use-it-with-an-api/#post-5217084)
 * Status: resolved