Sorry for late reply, i missed yours...
First of all, thanks for the efforts, to me it's important for all the ecosystem.
Hey, sorry for the late reply, actually missed yours.
First, we've done some more work trying to get closer to the blockexplorer "standard" (what blockchain.info more or less uses). There's still a little more work left but it's definitely better in terms of JSON format. There's also a few things in the format we will never support just because the design is not scalable. For example:
$ curl
http://blockchain.info/rawblock/299994That's a 310k response. It's silly.
Second, regarding your proposal, I definitely think agreeing on a JSON schema is interesting. Endpoint addresses though... not so much. As long as there's a simple URL mapping, services should be free to pick URLs that match their own API schemes (I think).
Almost totally agree.
If the design has objective drawbacks it's right to point it out and not follow.
Agree that JSON format is more important than the endpoint addresses, anyway i cannot see drawback but just small advantages on choosing really the same. Developers could easily recognize already used endpoints from other API providers, and also if you are caching retrieved data by key, no need of remapping URLS to a unique scheme.
First off wrong api you are working on, we are standardizing block explorer api which is not meant to be a powerhouse of apis, but rather an easy to switch in time of need or attack to get low level data.
Why are you saying it's the wrong API? i personally need this endpoints!
Joke apart, i don't think /q/ endpoints are enough even for a small bitcoin related services wich need transactions information.
Really a good start tough.
Use object oriented programming. Create a base class with common elements and extend it for each specific API. This way you can use any of them without repeating code.
Currently we have very minimal differences, one is that blockchain returns satoshis, and I don't believe that is the better choice over a full 8 decimals. Modern languages can read in strings and convert them easily to big decimals or even big integers.
Here you are missing my point, i and many others have enough capacity to parse different API formats. But this is avoidable work and less error prone with better standards