iFixit REST API Interface
Project description
fixitPy
Interface with the iFixit API through Python, easily.
Current Features
- Guide Retrieval
WIP Features
- Guide image retrieval
- text based searching for guides
Installation
To install fixitPy
pip install fixitpy
Import the library
from fixitpy import guides
Using the library
Getting a guide
found_guide = guides.retrieve_guide(123) # call the find_guide function which returns a dict
print(found_guide.get("title")) # get various dict members
print(found_guide.get("difficulty"))
Getting a guide with prerequisites
Many iFixit guides provide prerequisite guides, this is optional to retrieve
found_guide = guides.retrieve_guide(123, get_prerequisites=True) # call the find_guide function which returns a dict
print(found_guide.get("title")) # get various dict members
print(found_guide.get("difficulty"))
Full example
from fixitpy import find_guide
found_guide = guides.retrieve_guide(123) # call the find_guide function which returns a dict
print(found_guide.get("title")) # get various dict members
print(found_guide.get("difficulty"))
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fixitpy-0.2.9.tar.gz
(3.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fixitpy-0.2.9.tar.gz.
File metadata
- Download URL: fixitpy-0.2.9.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55a8258368a42c80f39d514ce04a1cb8b809ae52de809a19baa689f213955716
|
|
| MD5 |
0ba9f8a88f0a45029fd1fc6c7eca8d90
|
|
| BLAKE2b-256 |
80e03aa788b7f99eda801d51a122a1b09326a83137f84b29a616b3b3140c63ca
|
File details
Details for the file fixitpy-0.2.9-py3-none-any.whl.
File metadata
- Download URL: fixitpy-0.2.9-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d57803803e7b1d1fb9569d7189abcd73269071351e4467385cb8a8645c0b828d
|
|
| MD5 |
c5c988a097ad3a92e1d186d3184717ae
|
|
| BLAKE2b-256 |
9025d5939be6ee41ff00e4af719e7bedd7a246bc5b775749ed1cf83852b39dbf
|