Query Coinbase Pro Stablcoin Conversion History - coinbase-api

I'm trying to reconstruct a Coinbase Pro account's history, which includes stablecoin conversions. I see that there's an API endpoint to effect such conversions, but what about querying conversions already done?! Neither deposits nor withdrawals (including internal ones) appear to include this.
Am I missing something or does the API really not cover this?

The endpoint you're looking for is for ledgers. You can use that to recreate all account history. Incidentally, I just added fetchLedger to coinbasepro in CCXT the other day to help me accomplish this task.

Related

How do I display the price of my Coin/Token in the TronLink wallet

PS: I offer my full apologies if the content of the question is not appropriate for the site
My problem, in a nutshell, is as follows, I have a coin/token in the Tron network, the latter of which can be found on the CoinGecko website
However, unfortunately, when the coin appears in the TronLink wallet, the following symbol “-” always appears near it in the price, which means that its price is unknown.
I tried searching the internet to find any possible way to show its price in the wallet and unfortunately without any result, unfortunately, TronLink wallet support is very weak.
Is there a solution to that?
I think it's a bit late but tronlink among many other crypto wallets use coinmarketcap api in order to get token/coin prices.
so listing your token inside coinmarketcap is a must.

How to download Amazon MWS Customisation fields

I'm looking into how to process customisation fields for Amazon orders and according to their MWS API Docs, if a customer chooses to personalise his order, then a URL to download this data comes down in the Order Item XML's BuyerCustomizedInfo node:
<OrderItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ASIN>ABC123</ASIN>
...
<ConditionSubtypeId>New</ConditionSubtypeId>
<BuyerCustomizedInfo>
<CustomizedURL>https://zme-caps.amazon.com/t/ABC123/ABC123/1</CustomizedURL>
</BuyerCustomizedInfo>
</OrderItem>
My client has given me two such orders to look at, and when I click on those links all I get is
NoSuchURL: Url id 'ABC123' has expired or does not exist!
I know that the ZIP will contain JSON which I will have to parse and may also contain references to SVGs, and that I must also make the code extra robust when dealing with customisation fields.
Am I getting this error because these links are time sensitive or one time use only? Or is it something else?
First off I'm not a Developer, I'm an Amazon Seller - I found your question while doing research as I'm trying to figure out what is possible and sketch a plan for a similar system and then hire a Developer.
I've pasted some info that I had found from the US below - the implementation of Amazon Custom in the European Marketplaces may not be the same as in the US though.
In general it is very hard to get good info on anything to do with Amazon Custom and it seems to have a messed up logic of its own - feel free to ask anything though and I will help if I can.
First of all, make sure you have the most up to date Amazon MWS Orders API SDK. If you don’t and refuse to update, you can make a reports API for orders, and that’ll include the ZIP URL, but you’ll have to parse it and life will be hell.
Next, for the order, call ListOrderItems which you probably already do. You’ll see the customization in the response XML under BuyerCustomizedInfo -> CustomizedURL.
This is a ZIP. Download the zip using CURL, put plenty of checks and fallbacks in place because it will fail sometimes.
Extract the ZIP to a folder. Inside that folder there will be a json file.
Parse that JSON file and you’ll probably know where to go from there for putting that information into your system.
Depending on how you’ve configured your product, there may also be an SVG file that you’ll want to parse to get some customization info. Specially json->{‘version3.0’}->customizationInfo->surfaces (each surface)->areas. Each area should be a text line or image. At least that is how it is for how we’ve set up products.
As always, put lots of checks, try catches, fallbacks, and error alerts.
The links are time sensitive and expire after 6 months I think.
The links should be a little more complex and if that is exactly the link you are seeing it's incorrect.
You don't require any auth to download them and the easiest way to test them is via the MWS Scratchpad.

Google Experiment shows 0 conversions but goal has plenty

I have a website with a booking system on another domain
The cross domain tracking is working fine.
I have set up a goal called "Booking system entered" which successfully tracks visitors hitting the first step in the booking system.
In my new Experiment i have used this goal for conversions. But even though i know there has been several conversions, meaning people going from version A or version B in my experiment to the booking system, the experiment keeps saying 0 conversions. The number of views is correct. But conversions are not counted at all?
The goal destination ("Begins with") is set up with the first part of the URL of the booking system.
The tracking codes on both domains have the following code added (with their domain):
_gaq.push(['_setDomainName', 'DOMAIN NAME HERE'])
And the experiment code has:
_udn = "DOMAIN NAME HERE";
Without knowing the details, I would say that you should check to see that the Google Analytics tracking code is still on the site, where the goals happen.
Also make sure that the cookie domain, path and domain hash in the experiment code is the SAME as the Google Analytics tracking code. That should solve your problems.

What are the possible effects of changing my Salesforce.com Organization name?

One of my clients wants to change their Salesforce Organization name. I know how to do this but was wondering if their may be ramifications if other third party applications are leveraging the name of the Organization? Would any of the existing installed apps be effected?
Thanks you in advance.
Graham
Any third party application worthy of the name uses your SFDC org ID, which is immutable. If you don't use it for anything internally (I would expect email templates to be the major offenders), you could change it once a day without any ill effects.
Edit: That being said, you can always change it in your sandbox and see what explodes.

what is the best way to debug vCloud client REST applications?

I'm building a vClould client application via the REST APIs, however, the documentation is inconsistent an in some cases just wrong and misleading.
All I really need is a solid debug tool or even a log file. Any recommendations?
You already mentioned you have access to the message stream, which is one of the first steps. Typically if I'm using the Apache HttpClient/HttpComponents I'll go increase the log level so it logs the full HTTP requests.
My next step is usually to cheat and to log into vCD as a system administrator and see what's going on. When vCD was designed there was a very deliberate decision to not reveal infrastructure level problems to tenants of the cloud (normal org users or org admins), as that would break the cloud abstraction. Sadly, that means as an org-level user you're often going to get "contact your cloud admin" error responses. We are aware that this isn't ideal and try to find ways to make it better when we can (IIRC the new 5.5 release that was announced last month does have some improvements in that area).
The last step is usually to cheat even more and to look at the server side logs (vcloud-container-debug.log, specifically). That usually gives me a better clue as to what went wrong. Of course, you may be unlucky and not have access to the vCD cell machine.
My workaround in the latter two cases is to try the operations via the vCD UI and see (1) if they work as expected and (2) if they do, to check the system state via the API and see if I'm sending the wrong request payloads, etc. because the doc or schema reference may not have been clear enough.
In regards to the documentation, please use the feedback links () found on individual doc pages to let us know! Our technical writer reviews all the feedback and tries to address them.
My final suggestion is that you might want to post API questions to the vCloud API community forum VMware has. There are a number of experts (both users and VMware employees) that monitor it and respond to questions.

Resources