ontehfritz / api.mtgdb.info

Project closing first of August 2015
http://www.mtgdb.info/
MIT License
36 stars 8 forks source link

Remove Image Url in JSON output? Need your input! #39

Closed ontehfritz closed 10 years ago

ontehfritz commented 10 years ago

For those keeping track of the API. To save some bandwidth, An idea is to remove the cardImage field.

The images would still be hosted at:

Main image: http://api.mtgdb.info/content/card_images/{multiverseId}.jpeg hires large: http://api.mtgdb.info/content/hi_res_card_images/{multiverseId}.jpg

This would be stated in the documentation where to find the images.

I am all for the idea as it would save some bandwidth. The api wrappers/drivers and your wrappers can fill in this info.

Leave your comments!

phylaxis commented 10 years ago

Seem like it would be OK to me.

ontehfritz commented 10 years ago

This will be coming in affect: Mar 9 2014

Please make changes to in your code the URLs are as follows:

http://api.mtgdb.info/content/card_images/{mutliverseid}.jpeg

https://api.mtgdb.info/content/card_images/{mutliverseid}.jpeg

Large Hi-Res Images

http://api.mtgdb.info/content/hi_res_card_images/{multiverseid}.jpg

https://api.mtgdb.info/content/hi_res_card_images/{multiverseid}.jpg

jesseflorig commented 10 years ago

+1

ontehfritz commented 10 years ago

:+1: POW!