Quantcast

Jump to content


Photo

Item DB Query


  • Please log in to reply
11 replies to this topic

#1 xZel

xZel
  • 463 posts

Posted 29 November 2009 - 08:39 PM

Is there a way I can query the itemDB with item ID's instead of their names? I only have seen it done with their names.

#2 iargue

iargue
  • 10048 posts


Users Awards

Posted 29 November 2009 - 08:41 PM

Is there a way I can query the itemDB with item ID's instead of their names? I only have seen it done with their names.



Not yet.

#3 xZel

xZel
  • 463 posts

Posted 29 November 2009 - 09:38 PM

Thats awfully annoying. I guess ill just have to filter based on IDs.
Also, did the SVN location change?

#4 jcrdude

jcrdude
  • Oh shit there's a thing here

  • 7001 posts


Users Awards

Posted 29 November 2009 - 09:42 PM

Thats awfully annoying. I guess ill just have to filter based on IDs.
Also, did the SVN location change?


It's down... soooo.... I've been a useless Junior for about a week now :3

#5 Waser Lave

Waser Lave

  • 25516 posts


Users Awards

Posted 30 November 2009 - 04:31 AM

PM Hydrogen and he might add it in the next itemdb update. Not sure why you'd really want to search by obj_ids though. O_o

#6 iargue

iargue
  • 10048 posts


Users Awards

Posted 30 November 2009 - 07:54 AM

If you where using python I could tell you how to :p

#7 Hydrogen

Hydrogen
  • Neocodex Co-Founder

  • 22213 posts


Users Awards

Posted 30 November 2009 - 02:04 PM

You can query by ID by editing the URL. Let's say you want Green Apple (ID: 1). Simply type into your browser:
http://www.neocodex.us/forum/itemdb/1-whatever-you-want-here
The text at the end is used purely for SEO purposes and is not used for finding the item itself. Make sure to include the dash after the initial number though. Also, you can not use obj_id but only our unique id. I suppose I can add an obj_id search in if you really need it :p.

#8 xZel

xZel
  • 463 posts

Posted 30 November 2009 - 02:22 PM

If you where using python I could tell you how to :p

how?

PM Hydrogen and he might add it in the next itemdb update. Not sure why you'd really want to search by obj_ids though. O_o

I need to get stuff for individual items and get rid of possible copies.

#9 Backslash

Backslash
  • 47 posts

Posted 30 November 2009 - 02:56 PM

And its easier to generate buylinks :p

#10 iargue

iargue
  • 10048 posts


Users Awards

Posted 30 November 2009 - 09:38 PM

how?


Use the database API from shadow. :p

#11 xZel

xZel
  • 463 posts

Posted 01 December 2009 - 05:03 PM

Use the database API from shadow. :p

I have the text file with the API. I didnt see anything that could be used to query for IDs.

#12 iargue

iargue
  • 10048 posts


Users Awards

Posted 01 December 2009 - 05:32 PM

I have the text file with the API. I didnt see anything that could be used to query for IDs.



You cant just use the item ID in place of the name? I could have sworn shadow told me that it can be done.


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users