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

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


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

Uploaded Python 3

File details

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

File metadata

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

Hashes for fixitpy-0.2.11.tar.gz
Algorithm Hash digest
SHA256 1a2141637dcc52f0213872d4595247230fb877ba206de65bc25901527faeee02
MD5 f450fb396467bdebcdc58b55d2f92646
BLAKE2b-256 b5225109ed9dd2c4e0ac5d3f4d5c6881d37b0c6acd3e62af178272d20eda9e9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fixitpy-0.2.11-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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 0d089a371ed87d5e9762ec1176cdf0ce65a0ed05d3f2bda3edd78e9a5f48301e
MD5 4dc4ac96a0c0d8a8d36c7b46b496d365
BLAKE2b-256 48090fba6e8a095a7ef2f78e3fd179606aca82bfc2089b3bdedf046ae5b00e66

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