Skip to main content

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


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.10.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fixitpy-0.2.10-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file fixitpy-0.2.10.tar.gz.

File metadata

  • Download URL: fixitpy-0.2.10.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for fixitpy-0.2.10.tar.gz
Algorithm Hash digest
SHA256 0f84e68fba5f31ad4e3d141d6982c197473ff647bcaf53f60b2aac01f402f6ce
MD5 5ef51602e264a42c517b8140c53198d1
BLAKE2b-256 29e8023939d1de2f0afe991f4b0508c55dae5e5098e41d42e5d0f2d2ff9005fe

See more details on using hashes here.

File details

Details for the file fixitpy-0.2.10-py3-none-any.whl.

File metadata

  • Download URL: fixitpy-0.2.10-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

Hashes for fixitpy-0.2.10-py3-none-any.whl
Algorithm Hash digest
SHA256 ab8db61219397fd805968ebefe6e8823b8fdaaeabd1a173d1e7a0b025ba525d5
MD5 f7a55bfa4c20d0281c0e24a4f3b4d927
BLAKE2b-256 e841bf2eb623c65a1c96f50f8d34b376d2d82182e059a393ab61460eff4b360d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page