You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.MD
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -16,19 +16,19 @@ The the package has one class `IndustryDocsSearch` with two main methods of are:
16
16
Basic usage looks like:
17
17
18
18
```
19
-
import industryDocumentsWrapper as idw
19
+
import industry_documents_wrapper as idw
20
20
21
-
wrapper = idw.IndustryDocsSearch()
22
-
wrapper.query(q="industry:tobacco AND case:'State of North Carolina' AND collection:'JUUL labs Collection', n=100)
21
+
wrapper = idw.ucsf_api.IndustryDocsSearch()
22
+
wrapper.query(q="industry:tobacco AND case:'State of North Carolina' AND collection:'JUUL labs Collection', n=100")
23
23
wrapper.save('query_results.json', format='json')
24
24
```
25
25
26
26
Alternatively, to avoid constructing the whole query, you can pass parts of the query as arguments:
27
27
28
28
```
29
-
import industryDocumentsWrapper as idw
29
+
import industry_documents_wrapper as idw
30
30
31
-
wrapper = idw.IndustryDocsSearch()
31
+
wrapper = idw.ucsf_api.IndustryDocsSearch()
32
32
wrapper.query(industry='tobacco', case='State of North Carolina', collection='JUUl labs collection', n=100)
33
33
wrapper.save('query_results.json', format='json')
34
34
```
@@ -53,4 +53,4 @@ Currently there is support for the following parameters:
53
53
54
54
**For guidance on the proper way to pass values in the query, please refer to the [API documentation](https://www.industrydocuments.ucsf.edu/wp-content/uploads/2020/08/IndustryDocumentsDataAPI_v7.pdf).**
55
55
56
-
Please reach out to [Rolando Rodriguez](mailto:[email protected]) with any questions, concerns, or issues.
56
+
Please reach out to [Rolando Rodriguez](mailto:[email protected]) with any questions, concerns, or issues.
0 commit comments