Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit 5a15ce6

Browse files
rename RegistryAPI to OpportunityRegistry
1 parent 9f83514 commit 5a15ce6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Package for building and interacting with the Dynata Respondent Exchange (REX)
1111
### *__Opportunity Registry__*
1212
### Instantiate a Registry Client
1313
```
14-
from dynata_rex import RegistryAPI
15-
registry = RegistryAPI('rex_access_key', 'rex_secret_key', 'registry_base_url')
14+
from dynata_rex import OpportunityRegistry
15+
registry = OpportunityRegistry('rex_access_key', 'rex_secret_key')
1616
```
1717
### List opportunities from the registry
1818
```

dynata_rex/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# Third Party Imports
1111

1212
# Local Imports
13-
from .opportunity_registry import RegistryAPI
13+
from .opportunity_registry import OpportunityRegistry
1414
from .respondent_gateway import RespondentGateway
1515
from .exceptions import (
1616
RexClientException,
@@ -22,7 +22,7 @@
2222

2323
__all__ = [
2424
'RespondentGateway',
25-
'RegistryAPI',
25+
'OpportunityRegistry',
2626
'RexClientException',
2727
'RexServiceException',
2828
'InvalidShardException',

dynata_rex/opportunity_registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from .exceptions import InvalidShardException
2020

2121

22-
class RegistryAPI:
22+
class OpportunityRegistry:
2323

2424
_BASE_URL = 'https://registry.rex.dynata.com'
2525

0 commit comments

Comments
 (0)