-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated parameters to dictionary, moved base api url into init, chang…
…ed vcurl to school_short_name, left vcurl for backwards compatibility
- Loading branch information
Showing
7 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
Metadata-Version: 2.1 | ||
Name: veracross-api | ||
Version: 0.2 | ||
Summary: Simple library for interacting with the Veracross API | ||
Home-page: https://github.com/beckf/veracross_api | ||
Author: Forrest Beck | ||
Author-email: [email protected] | ||
License: MIT License | ||
Download-URL: https://github.com/beckf/veracross_api/archive/v.02.tar.gz | ||
Description: # Veracross API Python Library | ||
Provides an easy way to pull information from the Veracross API in Python. | ||
|
||
Rate limiting and pagination will be handled automatically. | ||
|
||
Usage Example: | ||
```python | ||
import veracross_api as v | ||
|
||
c = {'vcurl': 'https://api.veracross.com/XschoolshortnameX/v2', | ||
'vcuser': 'username', | ||
'vcpass': 'password' | ||
} | ||
|
||
vc = v.Veracross(c) | ||
data = vc.pull("facstaff") | ||
print(data) | ||
data = vc.pull("facstaff/99999") | ||
print(data) | ||
data = vc.pull("facstaff", "updated_after=2018-05-01") | ||
print(data) | ||
``` | ||
|
||
All data will be returned as a dictionary. | ||
|
||
|
||
Keywords: Veracross,API | ||
Platform: UNKNOWN | ||
Classifier: Development Status :: 5 - Production/Stable | ||
Classifier: Intended Audience :: Developers | ||
Classifier: Topic :: Software Development :: Build Tools | ||
Classifier: License :: OSI Approved :: MIT License | ||
Classifier: Programming Language :: Python :: 3 | ||
Classifier: Programming Language :: Python :: 3.4 | ||
Classifier: Programming Language :: Python :: 3.5 | ||
Classifier: Programming Language :: Python :: 3.6 | ||
Classifier: Programming Language :: Python :: 3.7 | ||
Description-Content-Type: text/markdown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
README.md | ||
setup.cfg | ||
setup.py | ||
veracross_api/__init__.py | ||
veracross_api/veracross.py | ||
veracross_api.egg-info/PKG-INFO | ||
veracross_api.egg-info/SOURCES.txt | ||
veracross_api.egg-info/dependency_links.txt | ||
veracross_api.egg-info/requires.txt | ||
veracross_api.egg-info/top_level.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
veracross_api |