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.
Related
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.
I'm trying to switch from basic Google Street View API to Premium. As such, when I'm using:
(space after https is added because I can't post more than two links in the post)
https:/ /maps.googleapis.com/maps/api/streetview?location=40.720032,-73.988354&size=400x400&fov=90&heading=235&pitch=10&key=MY_PREMIUM_API_KEY
I get an image with a Google watermark, which does not scale further than 640x640, same as when using a basic API key.
Okay, to use the advantages of Premium GSV API, I also need to make a digital signature. I've generated a secret key and signed my url (with dropped domain, as said in the tutorial) using python code from there: https:/ /github.com/googlemaps/url-signing/blob/gh-pages/urlsigner.py - it generates just the same signature as one on the Google website: https://developers.google.com/maps/documentation/streetview/get-api-key?hl=en_GB#premium-key
Finally, I add the signature to the URL:
(space after https is added because I can't post more than two links in the post)
https:/ /maps.googleapis.com/maps/api/streetview?location=40.720032,-73.988354&size=400x400&fov=90&heading=235&pitch=10&key=MY_PREMIUM_API_KEY&signature=MY_BASE64_SIGNATURE
However, this is what I get in return instead of an image:
"The Google Maps API server rejected your request. This API project is not authorized to use this API. Please ensure that this API is activated in the APIs Console: https://console.developers.google.com/apis/library?project=_"
It cannot be that API project is not activated, as basic API with this project & Premium key works. Any ideas, why does it happen and Premium image download doesn't work?
It appeared to be a purely technical problem, the quotas were exceeded.
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
I'm trying to create a REST call to Azure to List Blobs within a container. The container is private so I need to access it through a Shared Access Signature (SAS).
I make that call in a Silverlight application so I cannot use the Client API.
I find a lot of examples with ClientAPI but nothing really clear and obvious for REST.
Anyone has a nice... clean and simple example on how to do that?
Thanks
I wrote a blog post a few days ago about exactly the same: http://gauravmantri.com/2013/02/13/revisiting-windows-azure-shared-access-signature/. I've included samples for various common functions both using REST API and Client library. As far as listing blobs is concerned, if you use REST API you get raw XML back which you would need to parse in your SL app.
I am creating a VB.NET WPF application that requires a user to nominate services local to the area they are in (such as the closest hospital, fire station, etc). Using the maps.google.com.au web site I can return the results that I am seeking, and I have stumbled across an AJAX based API that too returns results that I am after, however this is in a format that I am unfamiliar with (I think it is JSON).
Using the following URI, I am able to get a file that contains results for all hospitals local to Adelaide, South Australia, can anyone advise if this is JSON and if they could provide any sites or information on how I can parse this data in VB.NET 3.5.
http://ajax.googleapis.com/ajax/services/search/local?v=1.0&q=public--hospitals%20adelaide%20sa%20australia
If there is any suggesstions on better Google Maps API's that can achieve this (I would love XML format as I am more familar with XML then JSON) your suggesstions will be greatly appreciated.
Thanks,
Matt
You can use the json.net library to parse the JSON data