Python API

  • SopaXorzTaker
    31st May 2016 Member 2 Permalink

    Hey guys!

    I've made a Python TPT API, it can already be used to view save info, vote and tag saves, and more. I need some development assistance though because implementing all the wanted features would take a good portion of my time. 

     

    Using it is as simple as: 

    >>> import thepowdertoy
    >>> tpt = thepowdertoy.ThePowderToy("SopaXorzTaker", "********")
    >>> save = tpt.get_save(1930000)
    ...
    >>> save.score
    (1337, 10)

    If you are interested, please check it out on my GitHub.

  • ChargedCreeper
    31st May 2016 Member 0 Permalink

    Inb4 someone makes a bot... Cool idea though.

    Edited once by ChargedCreeper. Last: 31st May 2016