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
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.8.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.8.tar.gz.
File metadata
- Download URL: fixitpy-0.2.8.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 |
64666945e7fe1b319eeda80319eeee7a713e6308fb9aed66bb08da1c208d763b
|
|
| MD5 |
3ff39a5a6dbaaf19eb8b30bfd9a620cd
|
|
| BLAKE2b-256 |
30868090a482c55f4cc2add7c836fcd52e7406d558f451fb1967cea868434004
|
File details
Details for the file fixitpy-0.2.8-py3-none-any.whl.
File metadata
- Download URL: fixitpy-0.2.8-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 |
22ebd1b84d1424f7fe797eccb7d28ffc1c11418601789729ac8768a7354a361c
|
|
| MD5 |
5721117e2109c63d8829a60ae9d45b08
|
|
| BLAKE2b-256 |
7e22abfa7eb3f3c84d9c20c102d7b7d49320012e2fcc357628123629706e6b97
|