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 find_guide

Using the library

Getting a guide

found_guide = find_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

found_guide = find_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 = find_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"))

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.7.tar.gz (2.9 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.7-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fixitpy-0.2.7.tar.gz
  • Upload date:
  • Size: 2.9 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.7.tar.gz
Algorithm Hash digest
SHA256 c26024bc8c1764d0e904dfea09a74b05c80f29083f8322213e9e46860a8f9ceb
MD5 95bfb0c22a8569c0e6b1d0515a5af1af
BLAKE2b-256 ceb82182baf13d88bfc751bf3e76ff490c99711983e66a83a334af7f8a7d316d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fixitpy-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 3.3 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 dcdfebad965ce4727e52f5777d217c5899a53493efaa142fb80ed137e52b34f7
MD5 af4f60ee28e2010e0c4bf8a37eea2cb1
BLAKE2b-256 7afa70362bfcae54ad76326a70c18d53523c35479c632944f999027981245e35

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