How do you search for itemids?

How do you search for itemids?

in API Development

Posted by: Risingashes.8694

Risingashes.8694

Q:

Using the trading post web UI has now been disabled so I need to transition to using /v2/, but there seems to be a glaring omission- how does one actually search for itemids?

If I want a list of all Tempest weapons I would previously simply do a search for ‘Tempest’, and then queried the returned list for price information, but /v2/ doesn’t seem to have this at all.

How do you search for itemids?

in API Development

Posted by: Pat Cavit.9234

Pat Cavit.9234

Web Programming Lead

Next

A:

We don’t currently provide a search endpoint, sorry. It’s something we’re looking at but has implications for the backing services that we need to work through.

How do you search for itemids?

in API Development

Posted by: Risingashes.8694

Risingashes.8694

Okay, thanks.

Would have been nice if the functionality that worked wasn’t specifically disabled before the API caught up, but I’m assuming that’s outside your purview.

How do you search for itemids?

in API Development

Posted by: Pat Cavit.9234

Previous

Pat Cavit.9234

Web Programming Lead

Next

Okay, thanks.

Would have been nice if the functionality that worked wasn’t specifically disabled before the API caught up, but I’m assuming that’s outside your purview.

Querying the TP via the web endpoints was never a supported option, and we made no guarantees that we wouldn’t remove it.

How do you search for itemids?

in API Development

Posted by: Risingashes.8694

Risingashes.8694

Okay, thanks.

Would have been nice if the functionality that worked wasn’t specifically disabled before the API caught up, but I’m assuming that’s outside your purview.

Querying the TP via the web endpoints was never a supported option, and we made no guarantees that we wouldn’t remove it.

Of course.

It’s just a tad frustrating that someone had to go out of their way and spend time disabling something that wasn’t in any way substitutable by the API.

It’s completely understandable that API isn’t the a main priority for development resources, I just expected the removal of the web endpoints to be the result of lack of maintenance causing them to break and be left broken- rather than a specific action to disable them.

Anyway, almost certainly wasn’t your call, just venting. Ignore me.

How do you search for itemids?

in API Development

Posted by: Pat Cavit.9234

Previous

Pat Cavit.9234

Web Programming Lead

Next

We didn’t go out of our way to remove them, we literally threw out all of that code and started from scratch. The entire Trading Post frontend was rewritten w/ no code brought forward from the old TP because it frankly wasn’t all that good. I say that as the person that wrote most of that code, so I’m not throwing anyone under the bus in case anyone was wondering.

And for the record I’m absolutely the person responsible for that decision. Vent away if you have to.

How do you search for itemids?

in API Development

Posted by: Chokapik.3741

Chokapik.3741

Have a look at gw2spidy.com, they have an api that allows you to search items by name.
Kinda frustrating having to use another api for that, but meh.

Escape from Rata Sum: http://orikaru.net/ratascape
Guild Emblem Editor: http://nailek.net/gw2/emblemeditor

How do you search for itemids?

in API Development

Posted by: Risingashes.8694

Risingashes.8694

Have a look at gw2spidy.com, they have an api that allows you to search items by name.
Kinda frustrating having to use another api for that, but meh.

Yep, thanks.

That’s what I’ve done.

How do you search for itemids?

in API Development

Posted by: Wolf Fivousix.4319

Wolf Fivousix.4319

If I may suggest something: You can also get all the ID’s and the corresponding names, then save them in a file. That way, instead of querying the server, you query your own file (which is way faster than making a request for further processing). You may have to write some extra code here and there, but you get a huge increase in efficiency and the ability to do it offline, as you don’t depend on the server anymore.

Whenever the game gets an update, you just redo & compare (or just redo the whole process if you don’t want to bother comparing).

Hope it helps, happy programming.

// Dragonbrand
Wolf Fivousix – Elementalist
Black Wolf Trading Tool

How do you search for itemids?

in API Development

Posted by: smiley.1438

smiley.1438

You may also want to take a look at this: https://github.com/codemasher/gw2-database

How do you search for itemids?

in API Development

Posted by: Risingashes.8694

Risingashes.8694

We didn’t go out of our way to remove them, we literally threw out all of that code and started from scratch.

You threw out all the code during the transition between the oldTP and newTP, obviously as the entire thing was moved over to CoherantUI.

However, after the transition the web endpoints were re-implemented under the new system, using new queries.

It was only after the most recent patch that the new web endpoints were disabled, they were disabled rather than broken. They return the single string ‘disabled’ and the commands that used to work are the only ones that do so.

Am I mistaken about this? Is the “rewriting the backend code” that you’re referring to something that occurred on both the initial transition (that left the new web endpoints accessible), and then again on the most recent patch (which left the new endpoints unavailable)?

How do you search for itemids?

in API Development

Posted by: Pat Cavit.9234

Previous

Pat Cavit.9234

Web Programming Lead