realadeel/pinterest-api

How to use return form get_boards?

majioa opened this issue · 0 comments

When I issue a request to the gem to get my private boards with get_boards method I get the strange answer:

{"data"=>[],
 "page"=>
  {"cursor"=>"b28yNXxmMGVmZDA5YjB5Yjk5NDIxZjgzODZjNDRkZWEzNTRhZmIyZDRjZjE3ZWY4YmRmMWE4NmVhZGQwNDg1NTNmOTAw",
   "next"=>
    "https://api.pinterest.com/v1/me/search/pins/?access_token=ATn4phEFgj31x3eaA1tgFLeknE7MFQ0LI9ZTHe5Epzcd5oAzhAAAAAA&query=Agnetis&cursor=b28yNXxmMGVmZDA5YjA5Yjk5NDIxZjgzODZjNDRkZWEzNTRhZmIyZDRjZjE3ZWY4YmRmMWE4NmVhZGQwNDg1NTNmOTAw"}}

The documentation https://developers.pinterest.com/docs/api/boards/ give not the same answer as I get from the method above.

So the question is how to use the method properly?