Commit Graph

43 Commits

Author SHA1 Message Date
rafaelsideguide afee5684a3 Fixed tests' message and updated version 2024-06-14 11:05:19 -03:00
Rafael Miller 5a5c532bea Merge branch 'main' into py-sdk-improve-response-handling 2024-06-14 10:42:51 -03:00
rafaelsideguide 6963a490f1 Updated version 2024-06-14 10:21:44 -03:00
Matt Joyce 827354a116 Added logging to python sdk FIRECRAWL_LOGGING_LEVEL
Instantiates the logger early and depends on env to set.
2024-06-10 21:21:23 +10:00
Matt Joyce 6fd9ce1c89 type hints and linting 2024-06-08 11:46:52 +10:00
Matt Joyce 7477c5e5bd Use error handler consistently 2024-06-08 11:28:51 +10:00
Matt Joyce 9f306736af More detailed error handling 2024-06-08 11:18:30 +10:00
Matt Joyce c71ea7a795 Prepare headers consistently 2024-06-08 11:08:26 +10:00
Matt Joyce 8f9a165c2f Lint - whitespace 2024-06-08 08:03:02 +10:00
Matt Joyce 5f0df596ec Align param name with JS SDK
timeout becomes poll_interval
2024-06-08 07:37:08 +10:00
rafaelsideguide f2695df215 updated sdk versions 2024-06-06 17:51:12 -03:00
rafaelsideguide 8132f22c73 nice 2024-06-06 15:36:20 -03:00
rafaelsideguide bc1c1e5053 updating version to check if it runs 2024-06-06 11:41:01 -03:00
Rafael Miller 64423441b2 Merge branch 'main' into main 2024-06-05 14:44:29 -03:00
Nicolas 2139129296 Nick: v12 2024-05-31 11:39:55 -07:00
Matt Joyce dec225d368 Move version to __init__.py
Setup.py does not need to be edited when building the package.
2024-05-30 21:48:40 +10:00
rafaelsideguide a9b68d95d8 Update test.py 2024-05-27 14:28:44 -03:00
Rafael Miller 3c8edf683c Merge branch 'main' into test-sdks 2024-05-27 14:15:18 -03:00
rafaelsideguide 63772ea711 added github action workflow 2024-05-27 14:14:00 -03:00
Nicolas 7948c6cee2 Nick: fixed pip issues 2024-05-26 18:03:37 -07:00
rafaelsideguide 397769c7e3 added python sdk e2e tests with pytest
some of them are still missing though
2024-05-24 17:56:27 -03:00
rafaelsideguide d39860c08b Merge branch 'main' into feat/idempotency-key 2024-05-24 14:15:37 -03:00
Nicolas 8c380d70a5 Update firecrawl.py 2024-05-24 09:48:48 -07:00
Nicolas 65fe9c4f80 Merge branch 'main' into main 2024-05-24 09:47:12 -07:00
Rafael Miller 53a7ec0f6e Removed hard coded timeout 2024-05-24 13:46:16 -03:00
rafaelsideguide c201ea1986 added idempotency key to python sdk 2024-05-23 12:52:59 -03:00
Matt Joyce 106c18d11f Use truthiness check for 'success' key in API response
PyLint C0121
2024-05-23 08:57:53 +10:00
Matt Joyce 48e91c89e7 Removed unnecessary If block
PyLint R1731
2024-05-23 08:42:07 +10:00
Matt Joyce 7d2efe5acb Added request timeouts
connection timeout to 5 seconds and the response timeout to 10
PyLint W3101
2024-05-23 08:39:19 +10:00
Matt Joyce 96b19172a1 Removed trailing whitespace
PyLint C0303: Trailing whitespace (trailing-whitespace)
2024-05-23 08:30:23 +10:00
Matt Joyce 6216c85322 Time module already imported
Pylint
W0404: Reimport 'time' (imported line 16) (reimported)
C0415: Import outside toplevel (time) (import-outside-toplevel)
2024-05-23 08:21:32 +10:00
Matt Joyce 8adf2b7132 Added Docstrings for functions
PyLint C0116: Missing function or method docstring (missing-function-docstring)
2024-05-23 08:20:32 +10:00
Matt Joyce 971e1f85c4 Added module docstring
PyLint C0114 - missing-module-docstring
2024-05-23 08:03:58 +10:00
Matt Joyce 8d041c05b4 rearranged logic for FIRECRAWL_API_URL
It would not use the ENV unless the param was set to None which was counter-intuitive.
2024-05-23 08:00:56 +10:00
rafaelsideguide f9ae1729b6 Update firecrawl.py 2024-05-22 09:40:38 -03:00
Matt Joyce 7e5ef4dec4 Allow override of API URL
Allows python sdk to be used with local installs.
2024-05-20 18:46:32 +10:00
Nicolas ade4e05cff Nick: working 2024-05-15 17:13:04 -07:00
Nicolas 4c88d5da66 Nick: v8 python 2024-05-08 17:35:16 -07:00
Nicolas e6dbbf1bab Nick: fixes js and pydantic implementation 2024-05-08 17:16:59 -07:00
Rafael Miller 71bdbf9f15 Merge pull request #67 from mendableai/feat/python-sdk-502
[Feat] Implemented retry attempts to handle 502 errors
2024-04-29 08:38:19 -03:00
Nicolas a32e16a9be Nick: added /search to the python sdk 2024-04-25 11:20:35 -07:00
rafaelsideguide d3ab2ea926 [Feat] Implemented retry attempts to handle 502 errors 2024-04-25 10:51:01 -03:00
Nicolas a6c2a87811 Initial commit 2024-04-15 17:01:47 -04:00