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
import fixitpy
Using the library
Getting a guide
found_guide = fixitpy.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 = fixitpy.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
import fixitpy
found_guide = fixitpy.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.13.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.13.tar.gz.
File metadata
- Download URL: fixitpy-0.2.13.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 |
53d262f62721645e1940eee510c25dfda672a4394281fbe4446f3b5ec3bf0842
|
|
| MD5 |
9c28cd8b50861ea9052d080916fed2b7
|
|
| BLAKE2b-256 |
24984f1f01da59a922f2773f2d14b35a8d5df1ecffdf1ec7e2a13a7cf1dc5efa
|
File details
Details for the file fixitpy-0.2.13-py3-none-any.whl.
File metadata
- Download URL: fixitpy-0.2.13-py3-none-any.whl
- Upload date:
- Size: 3.5 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 |
d551c679194e9e5790b17225373f8c0a98439792d1a3409bd3e0ca6a91f605cf
|
|
| MD5 |
7fb7ef181c5dac8741b403fa952a3d4a
|
|
| BLAKE2b-256 |
09d6baa79fcba517da0589df81978546ad23eece73120ae046ea791012f725db
|