Quantcast

What works and what is paused ยท Email is limited to account activation and password resets.

Jump to content


Photo

Any api's for neopets


  • Please log in to reply
1 reply to this topic

#1 gotvacien

gotvacien
  • 74 posts

Posted 12 July 2022 - 02:00 PM

I have a few Idea's I want to try to code up this weekend when i get some free time. So I was wondering if there where any api's available that i could use to handle most the grunt work like proxy's logging navigating from page to page without it being weird on tnt's side ect. I can do all of it myself but I'd rather save myself the time if i can.



Advertisement

    #2 Pyro699

    Pyro699
    • 1549 posts


    Users Awards

    Posted 12 July 2022 - 05:49 PM

    There isn't much you need these days.

     

    In python you can use something called `mechanize`: https://github.com/p...anize/mechanize

     

    In this you can create a browser class, which should keep track of cookies (don't quote me on that, just double check it).

     

    The only things you need to keep in mind are:

    * Properly use the Referer header

    * Sometimes there are hidden images on the pages that are actually php links that render a blank image - these are tracking images, just have a hook set up that every page you load from neopets.com, look for all img tags that contain urls that are not actual images... Crude, but it works

    * Change your user agent to be one that is an actual browser.

     

    From that, it is best you build you own classes and own wrapper that best works for what you are doing. You have all the tools to do that at your fingertips, shouldn't be that difficult!!!

     

    Kinda dead around here these days, but if you have questions, and i have the time to help - more than happy to try. The slack is still active, so feel free to pop in there - I check that daily.




    1 user(s) are reading this topic

    0 members, 1 guests, 0 anonymous users