Menu

API for Numista

44 posts

» Quick access to the last post

Author Message
Megas
Joined: 16-Nov-2013
Posts: 149
Hello

Have the administration ever thought about creating API for Numista?
It will allow the user to develop some third-party application, or just create some user-friendly mobile site. Because, in my opinion, current mobile version of the site looks awful.

For example, I daily use mobile version of my coins catalog (on my own site), when someone ask me if I do have some specific coin, or when someone ask me for coin swap. But since I started to manage my collection using Numista, it is not very easy to do.

You can start with some simple functions, like: getting the list of your own coins, searching the catalog.
And then later add some more functions.
tom1410
Joined: 10-Mar-2013
Posts: 702
Hi,

API would be great! I personally would like to create app for exporting collection to Excel (since standard Excel output is very messy) API would make this possible. I have some experience with developing for office.

Regards, Tomas
Play numismatic games: http://www.coinsbook.net/numismatic-games-and-quiz
ZacUK Numista team
Joined: 3-Jan-2011
Posts: 6940
http://en.wikipedia.org/wiki/Application_programming_interface

   For anyone (like me) who does not know what an API is.  :°
My collections >
http://mycoinssite.webs.com/apps/photos/album?albumid=13560800
also 13750057 also 15924495 also 15995337
http://mycoinssite.webs.com/apps/photos/album?albumid=16060326
KartWay
Joined: 31-Oct-2013
Posts: 1155
For me the mobile version of Numista looks the same as the webpage of Numista. Exactly same.
 So I don't see what's wrong?
Or that's what's wrong, do you want mobile Numista to be totally different?
Sorry - just a bit lost.
KartWay
Joined: 31-Oct-2013
Posts: 1155
What I mean is I get a list of my coins and can search catalogue in my mobile already.
Megas
Joined: 16-Nov-2013
Posts: 149
KartWay

Once you enter from mobile device you should see mobile version of the site. But there is a link to regular desktop version, if you click it, you won't see mobile version any more. I think you should clean your browser's cookies in order to see mobile version again.

Anyway, what i'm talking about is that API will allow to develop some useful stuff, not only mobile application. tom1410 gave good example: exporting tools.
KartWay
Joined: 31-Oct-2013
Posts: 1155
Ok, now I get what you mean. That's exactly what I'm using, the desktop version, but since it worked great in my phone I didn't feel the need to have changes in mobile version.  
I get what you mean now though, also the desktop one probably isn't most convenient in some of the phones.
CptBS
Joined: 19-Aug-2013
Posts: 6
I'd love to try creating a utility to create coin flip inserts from numista data.  An API that allowed downloading of images and information for personal use only would be awesome!
Walder Coins
Joined: 20-Apr-2012
Posts: 676
I quite like the API idea it could branch off into many tools to help Numista members.
CptBS
Joined: 19-Aug-2013
Posts: 6
Yes! Make it happen :)

It could require a login, so that user statistics could be tracked and abuse avoided.  User created utilities could simply require that you register and use your own user name and password :)

As it stands, one could make a utility that simply parses the html for information, but this would be inefficient and time consuming, not to mention a waste of bandwidth for numista!
Megas
Joined: 16-Nov-2013
Posts: 149
I already thought about creating parser that will parse Numista pages and return information in form of JSON. But this approach has many drawbacks.
Besides, instead, of spending time on creating parser, it will be much simpler just to help Numista administration to create that API.
If administration is interested in that idea, then I'm ready to help.
Walder Coins
Joined: 20-Apr-2012
Posts: 676
Sounds good, please send a PM to Xavier asking his opinion/permission. It's his site so up to him.
bam777
Joined: 5-Aug-2011
Posts: 4414
No need, I'll be meeting with Xavier to discuss this.
redsmithstudios
Joined: 20-Dec-2010
Posts: 2735
this would be a huge step for Numista, good apps would help a lot of people.
Taking a break from swapping for a while, but still interested in pre 1799 Spanish coins, I will make time for that!

Looking for pre 1783 coins
CptBS
Joined: 19-Aug-2013
Posts: 6
Any updates?
bam777
Joined: 5-Aug-2011
Posts: 4414
I'm afraid at present the Administrator is not looking to expand on this idea.
There are other ideas that he wishes to implement sooner. However, this idea has not been ruled out 100%; it is not on the top of his priorities.
imreh
Joined: 4-May-2012
Posts: 2306
Quote: bam777I'm afraid at present the Administrator is not looking to expand on this idea.
There are other ideas that he wishes to implement sooner. However, this idea has not been ruled out 100%; it is not on the top of his priorities.
Can you still look in the mirror, Ben? :(
bam777
Joined: 5-Aug-2011
Posts: 4414
Yes, I can.
imreh
Joined: 4-May-2012
Posts: 2306
Quote: bam777Yes, I can.
Good. I was a bit worried.
tom1410
Joined: 10-Mar-2013
Posts: 702
Quote: bam777I'm afraid at present the Administrator is not looking to expand on this idea.
There are other ideas that he wishes to implement sooner. However, this idea has not been ruled out 100%; it is not on the top of his priorities.
I think this is a bad idea. API can bring many interesting and good third-party applications, expansions for Numista, just using Numista as very good database. And later Numista will be better without the administrative effort and intervention.

Regards, Tomas
Play numismatic games: http://www.coinsbook.net/numismatic-games-and-quiz
Megas
Joined: 16-Nov-2013
Posts: 149
It looks like creating API is unattainable goal for administration of the site. They even can't fix simple problem of messaging for 3 months.

Anyway, I will consider the possibility of creating parser that will emulate the API. It not really appropriate way to do such things, but if administration moves too slowly it's probably the time to take matters into my own hands.
imreh
Joined: 4-May-2012
Posts: 2306
Shalom, I am no-one here, however if you need some support or idea, get in touch,
I support you in spirit, for sure!  ;)
Imre
CptBS
Joined: 19-Aug-2013
Posts: 6
If you need help with anything let me know, will help as I can!
Megas
Joined: 16-Nov-2013
Posts: 149
So, I decided to implemented some few basic function, just for proof of concept.

All API methods return data in JSON format.

The methods are:
1) Receiving basic data of specific coin. Example.

2) Receiving list of users that want to exchange specific coin. Example.

3) Receiving basic user information. Example.

4) Receiving list of user's feedbacks. Example.

5) List of countries. Example.

I will update API documentation on that page.
I'm pretty sure that API still very buggy, as i told, i made it just for proof of concept.

If someone want to contribute, then i will publish the source code later.
iamkarlson
Joined: 4-Jun-2016
Posts: 7
Did you make reverse engineering for it? In that case it's not fit for me, I'm looking for API to import my own collection from csv, and upload pics..
Megas
Joined: 16-Nov-2013
Posts: 149
Quote: "iamkarlson"​Did you make reverse engineering for it? In that case it's not fit for me, I'm looking for API to import my own collection from csv, and upload pics..
​Currently that API doesn't have such functionality.
pandres95
Joined: 12-Oct-2016
Posts: 1
Quote: "Megas"
Quote: "iamkarlson"​Did you make reverse engineering for it? In that case it's not fit for me, I'm looking for API to import my own collection from csv, and upload pics..
​​Currently that API doesn't have such functionality.
Sad thing. Anyway, thanks a lot Megas, I start using the API since tomorrow.
Megas
Joined: 16-Nov-2013
Posts: 149
New functions arrived to Numista API:

1) Listing inbox and outbox messages
2) Reading messages

Currently I'm working on adding new awesome feature: coin prices (have nothing in common with Numista's values that planned to be implemented for 2 years).
Megas
Joined: 16-Nov-2013
Posts: 149
So, finally after a long work added function to get coin's price.

How does it work:
- System constantly aggregate selling prices on different platforms like numismatic shops, auctions, eBay etc.
- When you ask for the price, the API get all sellings in last 2 years and you receive: minimal/maximal price, number of sellings, average and median price.
- Currently there is no separation for coins of different years and/or quality.

API Documentation placed here.

P.S. Now you can access API through HTTPS protocol.
MihajloNesic
Joined: 2-Jul-2015
Posts: 260
There is an Android app created without an API. You can check it out here
https://en.numista.com/forum/topic61054.html

But yes.. I would like to see an API
https://mnesiccoins.gitlab.io/    https://www.instagram.com/mnesiccoins/
MihajloNesic
Joined: 2-Jul-2015
Posts: 260
Messing around with API. Works good :)

https://mnesiccoins.gitlab.io/    https://www.instagram.com/mnesiccoins/
Megas
Joined: 16-Nov-2013
Posts: 149
Quote: "MihajloNesic"​There is an Android app created without an API. You can check it out here
https://en.numista.com/forum/topic61054.html

​But yes.. I would like to see an API
​If you read attentively that topic, you may see:
Quote: "Cavaler"Since Numista doesn't yet have proper API, I use intermediate API kindly provided by user Megas, from here: http://qmegas.info/numista-api/
;)
MihajloNesic
Joined: 2-Jul-2015
Posts: 260
Quote: "Megas"
Quote: "MihajloNesic"​There is an Android app created without an API. You can check it out here
​​https://en.numista.com/forum/topic61054.html

​​But yes.. I would like to see an API
​​If you read attentively that topic, you may see:

Quote: "Cavaler"Since Numista doesn't yet have proper API, I use intermediate API kindly provided by user Megas, from here: http://qmegas.info/numista-api/
;)
​Oh! Fantastic!
https://mnesiccoins.gitlab.io/    https://www.instagram.com/mnesiccoins/
MihajloNesic
Joined: 2-Jul-2015
Posts: 260
I'm having more fun than I should :wiz:



Edit: GitHub repo
https://mnesiccoins.gitlab.io/    https://www.instagram.com/mnesiccoins/
starnutoditopo
Joined: 12-May-2017
Posts: 23
Quote: "MihajloNesic"​I'm having more fun than I should :wiz:



​Edit: GitHub repo
​Great sample!
Congratulations!
MihajloNesic
Joined: 2-Jul-2015
Posts: 260
Unfortunately, the administration of Numista has blocked the IP address of this API service, thus at the moment it does not work.

We do not plan to go to confrontation with the administration of Numista and use various dirty tricks like proxy servers. We hope that the problem can be settled amicably.

Help by raising the problem on Numista's forum
_________________________________

This is the message on the webpage.
Because of this, my tools (such as random coin search) do not work anymore.
I do not see the point of Numista disabling this option. Maybe it has to do with copyrighted photos.
I want to believe that Numsita will have the official API for making great applications.

Thank you Megas for providing us the API
https://mnesiccoins.gitlab.io/    https://www.instagram.com/mnesiccoins/
Xavier Site admin
Joined: 16-Jan-2007
Posts: 4003
Hello MihajloNesic,
The IP address has been unblocked :)
MihajloNesic
Joined: 2-Jul-2015
Posts: 260
Quote: "Xavier"​Hello MihajloNesic,
​The IP address has been unblocked :)
​Thank you Xavier! :)

I see the potential in this API. I'm currently working on a coin guessing game!

One thing I want to request. API should also give information about the picture owners, as there is a copyright on them. In other case, there can always be © Numista beneath the photos.
https://mnesiccoins.gitlab.io/    https://www.instagram.com/mnesiccoins/
Megas
Joined: 16-Nov-2013
Posts: 149
Quote: "MihajloNesic"​​One thing I want to request. API should also give information about the picture owners, as there is a copyright on them. In other case, there can always be © Numista beneath the photos.
​Once I fix API to support latest Numista design changes, I may add picture's copyright information.
elier.am85
Joined: 8-Oct-2017
Posts: 7
Hi Megas!

Could you give me an example or two on how to use your API? It may be a simple question but it would be very helpful to me. Thank you
MihajloNesic
Joined: 2-Jul-2015
Posts: 260
Quote: "elier.am85"​Hi Megas!

​Could you give me an example or two on how to use your API? It may be a simple question but it would be very helpful to me. Thank you
​Megas already gave a couple of examples. See the examples above.
https://mnesiccoins.gitlab.io/    https://www.instagram.com/mnesiccoins/
vulcaryn
Joined: 26-Jan-2019
Posts: 1
Hello,

I've tested your API and before asking something, I would say to you : "Thank you for what you've done".

Did you put something like "search coin API" in your road map ?
Because actually searching for a coin, without the id, is a little bit complicated throughout your API.

I don't really know what's the main purpose of you API but searching at least on name and date could be really helpful for any API consumer.

What do you thing ?

Thanks.
Megas
Joined: 16-Nov-2013
Posts: 149
Quote: "vulcaryn"​Hello,

​I've tested your API and before asking something, I would say to you : "Thank you for what you've done".

​Did you put something like "search coin API" in your road map ?
​Because actually searching for a coin, without the id, is a little bit complicated throughout your API.

​I don't really know what's the main purpose of you API but searching at least on name and date could be really helpful for any API consumer.

​What do you thing ?

​Thanks.
​Yes, searching coins is definitely in my roadmap. However I can't give estimation when it will be available.
Xavier Site admin
Joined: 16-Jan-2007
Posts: 4003
Hello,

I started an API for Numista, which includes search and retrieval of coins from the catalogue.
https://en.numista.com/api/doc/

Please send me a message explaining how you plan to use the API and your traffic need (queries per day) so I can create an API key for you.

» Top of the page

Used time zone is UTC+1:00.
Current time is 06:41PM.