Skip to content

Commit 84df1bb

Browse files
authored
Merge pull request #7 from Galarzaa90/dev
v1.0.0
2 parents b5605ce + 9e8b417 commit 84df1bb

File tree

78 files changed

+6691
-1064
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+6691
-1064
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# User files
2-
output.json
3-
41
# IDEs
52
.idea/
63
.vscode/

.gitlab-ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ build:
1414
script:
1515
- python setup.py sdist bdist_wheel
1616
artifacts:
17-
name: tibia.py_dist
17+
name: tibia.py-dist
1818
paths:
1919
- dist/
2020

@@ -25,7 +25,7 @@ docs:
2525
- cd docs
2626
- make html
2727
artifacts:
28-
name: Tibia.py_Sphinx
28+
name: tibia.py-docs
2929
paths:
3030
- docs/_build/
3131

@@ -55,3 +55,4 @@ pages:
5555
- public
5656
only:
5757
- master
58+
- dev

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
# Changelog
2+
## Version 1.0.0 (2018-12-23)
3+
- Added support for TibiaData JSON parsing. To have interoperability between Tibia.com and TibiaData.
4+
- Added support for parsing Houses, House lists, World and World list
5+
- Added support for many missing attributes in Character and Guilds.
6+
- All objects are now serializable to JSON strings.
7+
28
## Version 0.1.0 (2018-08-17)
39
Initial release:
410
- Parses content from tibia.com

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ No fetching is done by this module, you must provide the html content.
99
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/tibia.py.svg)
1010
![PyPI - License](https://img.shields.io/pypi/l/tibia.py.svg)
1111

12+
**Features:**
13+
14+
- Converts data into well-structured Python objects.
15+
- Type consistent attributes.
16+
- All objects can be converted to JSON strings.
17+
- Can be used with any networking library.
18+
- Support for characters, guilds, houses and worlds.
19+
1220
## Installing
1321
Install and update using pip
1422

@@ -36,7 +44,7 @@ async def get_character(name):
3644

3745
async with aiohttp.ClientSession() as session:
3846
async with session.get(url) as resp:
39-
content = await resp.text()
47+
content = await resp.text()
4048
character = tibiapy.Character.from_content(content)
4149
return character
4250

0 commit comments

Comments
 (0)