Skip to content

Commit

Permalink
Merge pull request #7 from guilyx/bump-version
Browse files Browse the repository at this point in the history
Bump Version to v1.0.0
  • Loading branch information
guilyx authored Oct 3, 2022
2 parents 1022c07 + 4c83406 commit 2bd3866
Show file tree
Hide file tree
Showing 11 changed files with 348 additions and 169 deletions.
1 change: 1 addition & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ parsers:

ignore:
- "setup.py"
- "examples/*"

comment:
layout: "reach,diff,flags,files,footer"
Expand Down
26 changes: 26 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.0] - 03-10-2022
### Added
- This CHANGELOG file to hopefully serve as an evolving example of a
standardized open source project CHANGELOG.
- Class Objects for API Responses, serialized from JSON.
- Endpoints documentation

### Changed
- HMAC Signature Generation has been fixed

### Removed
- main.py is now removed. To try out the library, users will now use docker-compose, attach to it, run python, import the project and run some methods.

## [0.0.1] - 02-10-2022
### Added
- Basic API Client with faulty HMAC Signature Generation
- All Endpoints wrapped
- Readme with examples, setup steps
- Custom Exceptions based on Nexo's API
- Basic Tests
12 changes: 12 additions & 0 deletions examples/get_account_balances.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import nexo
import os
from dotenv import load_dotenv

load_dotenv()

key = os.getenv("NEXO_PUBLIC_KEY")
secret = os.getenv("NEXO_PUBLIC_KEY")

client = nexo.Client(key, secret)
balances = client.get_account_balances()
print(balances)
13 changes: 12 additions & 1 deletion nexo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
.. moduleauthor:: Erwin Lejeune
"""

__version__ = '0.0.1'
__version__ = "1.0.0"

from nexo.client import Client
from nexo.response_serializers import (
AdvancedOrderResponse,
Balances,
Orders,
Pairs,
Quote,
TradeHistory,
Transaction,
OrderResponse,
OrderDetails,
)
Loading

0 comments on commit 2bd3866

Please sign in to comment.