Skip to content

Commit 2b24c29

Browse files
committed
Added "trial" plan
1 parent 913ead8 commit 2b24c29

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ dextools = DextoolsAPI(api_key, useragent="User-Agent")
3636
To get started, import the package, and initiate a `DextoolsAPIV2` instance object by passing your API key and your plan:
3737
```
3838
from dextools_python import DextoolsAPIV2
39-
dextools = DextoolsAPIV2(api_key, plan="free")
39+
dextools = DextoolsAPIV2(api_key, plan="trial")
4040
```
4141

4242
You can also pass an optional user agent:
4343
```
44-
dextools = DextoolsAPIV2(api_key, useragent="User-Agent", plan="free")
44+
dextools = DextoolsAPIV2(api_key, useragent="User-Agent", plan="trial")
4545
```
4646

4747
If you don't specify any plan when instantiating the object, it will default to "partner" plan
@@ -54,7 +54,7 @@ To set your plan after the object is created, you can use the `set_plan("your_pl
5454
dextools.set_plan("standard")
5555
```
5656

57-
Available values: `"free"`, `"standard"`, `"advanced"`, `"pro"`, and `"partner"`
57+
Available values: `"free"`, `"trial"`, `"standard"`, `"advanced"`, `"pro"`, and `"partner"`
5858

5959

6060
## Version 1 Queries

dextools_python/dextools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def __init__(self, api_key, useragent="API-Wrapper/0.2", plan="partner"):
4040
def set_plan(self, plan):
4141
# python versions older than 3.10 don't support switch/case statements, using if elif instead
4242
plan = plan.lower()
43-
plans = ["free", "standard", "advanced", "pro"]
43+
plans = ["free", "trial", "standard", "advanced", "pro"]
4444
if plan in plans:
4545
self.plan = plan
4646
self.url = f"http://public-api.dextools.io/{plan}/v2"

0 commit comments

Comments
 (0)