YouTube API v2 results are not in chronological order - request

I'm using now YouTube api v2.
https://gdata.youtube.com/feeds/api/videos?max-results=30&start-index=1&orderby=published&v=2
Why results are not ordered in the way specified in request?

Results are not ordered because Youtube API v2 has a problem with orderby. Although it is mentioned for years, it has never been fixed in API v2 as you can see in issues with gdata.
However, I strongly recommend you to use Youtube API v3.

Related

Get Moving Average for crypto currency from Coinbase API

Trying to get moving average values like EMA(9), EMA(20), EMA(20) etc. for any given crypto from Coinbase API in real time for use in a bot trading app.
Is this possible?
Any direction to documentation / guidance or sample will help.
Not really sure how to go about getting this kind of data
You'll want to use the pro api.
Start with the candles endpoint and loop through it.
if you have specific questions about your code later, that's another question.

Coinbase Pro Example Query

What resources to use writing a Coinbase Pro Client ??
I'm trying to write an example Coinbase Pro client e.g. lists all your wallets and transactions.
This Example I'm not sure how to handle / decode the API-Secret https://developers.coinbase.com/docs/wallet/api-key-authentication
When placing the the API_KEY and API_SECRET as plain text I get the error
raise TypeError("key: expected bytes or bytearray, but got %r" % type(key).__name__)
TypeError: key: expected bytes or bytearray, but got 'str'
Then there is a very similar link But looks more like JavaScript https://docs.cloud.coinbase.com/exchange/docs/authorization-and-authentication
Other tutorials e.g. Coinbase Pro API – An Introductory Guide
using completly different libraries..
So what is a good starting point / tutorial to access coinbase pro
coinbase I managed and it was super easy :)
Some light into the questions:
still in research
still in research - probably not relevant
The tutorial talks about the coinbase pro API - BUT it uses / calls methods of coinbasepro-python wrapper which internally calls the api.

Any API changes with confidential mode?

Will 'confidential' messages/threads automatically be prevented from getting returned in API search results, or are there any code changes we need to make to prevent apps from breaking?
When new features like this get added to Gmail, it would be nice if the API release notes were simultaneously updated with an explanation of how the changes will impact the API. E.g. 2+ years later, there is still no explanation of whether or not gmailified inboxes can be accessed via the API.
Just trying the API to see what gets returned isn't useful, because then it's not clear whether or not you're building on an officially supported feature or just an undocumented implementation that's subject to change without warning.
As of now, there's not much info about changes in Gmail API with the coming of new features like confidential mode. But, you can stay updated with the official Gmail Blog about this.

WooCommerce products API responds with empty array

I have been stuck for the past week on an issue I don't understand and didn't find anywhere somebody having the same issue.
I have installed the latest version of the WooCommerce plugin for Wordpress and I am trying to use the API to get products for an angular Wordpress theme.
I set up my development machine to use SSL (https) cause it seems to be a mess to do without and I created a pair of key/secret for testing purpose.
I added products into the admin part for WooCommerce products (~10) but when I go on the url of the api (<base_url>/wc-api/v3/products?consumer_key=...&consumer_secret=...) I have in response NOT AN ERROR, but just an empty array.
{
products: [ ]
}
What am I doing wrong ? :'(
There are a couple of client libraries that make things a lot easier. I suggest you try these to see if you get the same result.
https://woothemes.github.io/woocommerce-rest-api-docs/?shell#official-libraries
And just to be sure: are your products set as being "published" and "public"? Otherwise the API will not include them.

Places api for Apple Maps

We have google api list out the places.i.e:
https://maps.googleapis.com/maps/api/place/autocomplete/xml?input=Amoeba&types=establishment&location=37.76999,-122.44696&radius=500&sensor=true&key=AddYourOwnKeyHere
Using this we get the list of places.
But My question is:How to get the list of places using Apple Maps in iOS 6.1(That means with out using google Api).
I guess what you want to know is how to get a list of interesting locations / places from the maps api. I believe what you want is not provided. IMHO you will always have to refer to a specific server such as Google / Yelp / ... to give you a list of interesting places. iOS6 Maps API only provides a means how to present those on the device.
Hope it helps,
EL

Resources