Fulgur Posted January 30, 2020 Share Posted January 30, 2020 Hi, I was wondering if the API serving backpack.tf data could be made so that input is no longer case sensitive. I'm currently working on a chat application that pulls price info for members of my tf2 discord server for quick price checks, and I'd really like it if we didn't have to capitalize item names to get price data. Applying title case across the board doesn't really work without a bunch of workarounds. The "of" in HOUWAR needs to be lowercase, and typing "PDA" for the construction PDA is a bit niggly. " Link to comment Share on other sites More sharing options...
Fulgur Posted February 3, 2020 Author Share Posted February 3, 2020 While I'm adding to my API wishlist, having an endpoint that fetches particle information would be nice as well. Link to comment Share on other sites More sharing options...
Sniper Noob Posted February 3, 2020 Share Posted February 3, 2020 You could validate their input and fix it as necessary, because I don't see them refactoring the entire API to be case-insensitive anytime soon Link to comment Share on other sites More sharing options...
Fulgur Posted February 10, 2020 Author Share Posted February 10, 2020 Using some predictive logic is what I ended up doing. However, this is a place for feature requests, so I am simply requesting a feature-- I don't need any feedback from anyone who isn't employed by ScrapTF. Link to comment Share on other sites More sharing options...
Zeus_Junior Posted February 10, 2020 Share Posted February 10, 2020 Theres this https://backpack.tf/developer/particles Not sure what you'd want in an api for it Regarding case sensitivity, could be a nice change. But you should be able to use the tf2 schema and get the correct name that way if you need it. Link to comment Share on other sites More sharing options...
Sniper Noob Posted February 13, 2020 Share Posted February 13, 2020 On 2/10/2020 at 1:55 PM, Fulgur said: Using some predictive logic is what I ended up doing. However, this is a place for feature requests, so I am simply requesting a feature-- I don't need any feedback from anyone who isn't employed by ScrapTF. I apologize for giving you a practical solution and a realistic answer. Link to comment Share on other sites More sharing options...
Fulgur Posted February 14, 2020 Author Share Posted February 14, 2020 On 2/10/2020 at 5:28 PM, Zeus_Junior said: Theres this https://backpack.tf/developer/particles Not sure what you'd want in an api for it Regarding case sensitivity, could be a nice change. But you should be able to use the tf2 schema and get the correct name that way if you need it. Thanks for pointing this out to me! I didn't know about this file previously. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.