1. [​IMG]

    Hello, today me and @Wire Segal are here to show you a new wrapper for the HypixelAPI. It is written in python. (MAJOR credit goes to Wire!)

    There is a .tar.gz file available to download with setup.py on the site itself,and there is also a GitHub repo!

    So, without further ado, here it is:

    Post any bugs you find here or on the Github repo, or even anything you want added and it may just come your way ;)

    Happy coding :)

    ~ @Wire Segal and @ЋDestruc7i0n
     
    #1
    • Like Like x 3
  2. Wire Segal

    Wire Segal New Member

    Messages:
    11
    Woo, guys, have fun! I tried to make it as professional as possible. Ping me for any suggestions, preferrably on twitter (@wiresegal).
     
    #2
  3. RobertXDB

    RobertXDB Active Member

    RobertXDB
    MVP+
    Messages:
    190
    This seems to be really cool :D Can't wait to learn Python. I'm learning Java and HTML right now.
     
    #3
  4. Awesome! I hope you like it, it is pretty easy to use and install (credit to Wire!)
     
    #4
  5. Here is an example for people to get started with:
    Code:
    import pypixel
    import json
    
    api = pypixel.HypixelAPI(<your key>)
    printable = json.dumps(api.userByName("destruc7i0n"), indent=4, separators=(',', ': '))
    print printable
    raw_input()
    
     
    #5
    Last edited: Dec 9, 2014
  6. RobertXDB

    RobertXDB Active Member

    RobertXDB
    MVP+
    Messages:
    190
    thx m8
     
    #6
  7. Wire Segal

    Wire Segal New Member

    Messages:
    11
    duuuuude, don't give out your api key
    EDIT: thanks for fixing

    anyway, the api calls return a dictionary object. if you use python, you'll know what that means.
     
    #7
    Last edited: Dec 10, 2014
  8. #8
  9. Wire Segal

    Wire Segal New Member

    Messages:
    11
    Major update: you can now use multiple keys to expand your API usage, with the MultiKeyAPI class. Use it like the HypixelAPI class.
     
    #9
    • Like Like x 1
  10. Update:

    Added Player class -> faster stats fetching
    Added leaderboards and uuid classes -> again faster stats
    Redid MultiKeyAPI
     
    #10
  11. Hey, um I have no idea how to install this because I don't know where the folder it says to go to is...
     
    #11
  12. Download/clone the repo, enter the downloaded/cloned repo and pip install.
     
    #12
  13. Enclusion

    Enclusion Member

    Enclusion
    MVP+
    Messages:
    48
    is this still good? sorry for necro but I am working on a project with python
     
    #13
  14. It still works, just that its missing the watchdog API iirc
     
    #14

Share This Page