{"id":23920,"library":"jsonapi-requests","title":"jsonapi-requests","description":"A Python client implementation for JSON API (http://jsonapi.org/) specifications. Version 0.8.0 supports only Python >=3.9. Follows the JSON API standard for building API clients. Release cadence is low; maintainer activity is sparse.","status":"active","version":"0.8.0","language":"python","source_language":"en","source_url":"https://github.com/socialwifi/jsonapi-requests","tags":["jsonapi","client","api","rest"],"install":[{"cmd":"pip install jsonapi-requests","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Import path changed; previous deep paths no longer work.","wrong":"from jsonapi_requests.data import JsonApiObject","symbol":"JsonApiObject","correct":"from jsonapi_requests import JsonApiObject"},{"note":"Direct import from package root.","wrong":"from jsonapi_requests.api import Api","symbol":"Api","correct":"from jsonapi_requests import Api"}],"quickstart":{"code":"from jsonapi_requests import Api, JsonApiObject\n\napi = Api.config({\n    'api_url': 'https://example.com/api',\n    'auth': ('user', 'pass')  # optional\n})\n# Example: fetch a single resource\nobject = JsonApiObject.from_api(api, id='1', type='articles')\nprint(object.attributes)\n","lang":"python","description":"Initializes the API client and fetches a JSON API resource. Replace api_url and id with actual values."},"warnings":[{"fix":"Wrap calls in async executor or use a different async-compatible JSON API client.","message":"The library uses synchronous requests (requests library). It does not support async/await natively. Blocking I/O can be an issue in async applications.","severity":"gotcha","affected_versions":"all"},{"fix":"Use `JsonApiObject.from_api(api, id, type)` and `JsonApiList.from_api(api, type)` instead.","message":"Methods like `get_object` and `get_list` on the Api object are deprecated in favor of using JsonApiObject and JsonApiList statically.","severity":"deprecated","affected_versions":">=0.8.0"},{"fix":"Upgrade Python to 3.9+.","message":"Python 3.8 and below are no longer supported. Requires Python >=3.9.","severity":"breaking","affected_versions":">=0.8.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use `import jsonapi_requests` (underscore).","cause":"Import typo: using dashes instead of underscores.","error":"ModuleNotFoundError: No module named 'jsonapi_requests'"},{"fix":"Use `from jsonapi_requests import Api`.","cause":"Importing submodule directly instead of package root.","error":"AttributeError: module 'jsonapi_requests' has no attribute 'Api'"},{"fix":"Set `'api_url': 'https://...'` in the config dictionary.","cause":"Api.config() called without 'api_url' key.","error":"jsonapi_requests.exceptions.InvalidConfigurationException: api_url is required"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}