Skip to content

Commit

Permalink
Merge pull request #11 from cuenca-mx/dhlApi
Browse files Browse the repository at this point in the history
Rename url
  • Loading branch information
agarrido19 authored Feb 6, 2020
2 parents 1544455 + a75f738 commit 3b09e17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dhlmex/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from .exceptions import DhlmexException
from .resources import Guide, PostCode, Resource

API_URL = 'https://prepaid.dhl.com.mx/Prepago'
PREPAID_URL = 'https://prepaid.dhl.com.mx/Prepago'
USER_AGENT = (
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 '
'(KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36'
Expand All @@ -20,7 +20,7 @@

class Client:

base_url: ClassVar[str] = API_URL
base_url: ClassVar[str] = PREPAID_URL
headers: Dict[str, str]
session: Session

Expand Down

0 comments on commit 3b09e17

Please sign in to comment.