Adding a node to pycrunchbaseΒΆ
If CrunchBase adds a new Node, we can add it to pycrunchbase as such:
- Make a new file under resource/ with the name <node>.py, rerplacing <node> with the name of the node.
- Write a test file for this node in tests/ called test_<node>.py.
- Add a method on
CrunchBase
with the name <node> as the public api to access this node. - Ensure that all imports are woring fine, this includes adding the node to resource/__init__.py, pycrunchbase/__init__.py.
- Add a test case to test_pycrunchbase.py to test the public api for the new node.