Giter Site home page Giter Site logo

osrs-api-wrapper's People

Contributors

adamkbeck avatar chasesc avatar gunnarsnorri avatar taur1ne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

osrs-api-wrapper's Issues

items_osrs.json is out of date

I believe items_osrs.json was originally added when this project was first started in 2017. It is missing any items that have been added since then.

This is closely tied to #6 , but could be an easier change if someone finds updated data instead of requiring a code change.

Consider making a release and put it on PyPi

Hey, I'd love to use this library in a possible project of mine (I can't find any other Python libraries for the API anyway), but to do so I'd like to install this from PyPi (pip install osrs-api-wrapper or something like that). Could you make a release and upload it on there?

_type always returns normal account type

<AccountType.NORMAL: '/m=hiscore_oldschool/index_lite.ws'>
^ is what returns even when im calling the hiscores of an ironman or an uim
if this isnt implemented properly yet, please ignore and close this issue

Buy and Sell prices

I was wondering if there's any way to distinction between current buying price and current selling price.

License

Can you please set a license for this project. I would like to use some assets of this project.

json.decoder.JSONDecodeError: Expecting value: line 1 column 2 (char 1)

Hey, I've installed this package and I'm trying to get it to work but ran into issues with the decoding.

I'm able to pull the id, name of items however anything in relation to the line of code:

json_data = json.loads(data.decode(encoding))["item"]
or
data.decode().split("\n")

Error('utf-8' codec can't decode byte 0xa3 in position 36353: invalid start byte)

The package keeps breaking and I've tried a handful of solutions including:
json_data = json.loads(data.decode(encoding, errors='replace'))["item"]

I've built out a custom api in regard to some aspects of osrs however this from an overview prospective looked more promising and something I'd enjoy messing around with.

Just reaching out to inform you of some of the issues i faced when trying to get it to work and see if you had any solutions to offer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.