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.13.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.13-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

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

Hashes for fixitpy-0.2.13.tar.gz
Algorithm Hash digest
SHA256 53d262f62721645e1940eee510c25dfda672a4394281fbe4446f3b5ec3bf0842
MD5 9c28cd8b50861ea9052d080916fed2b7
BLAKE2b-256 24984f1f01da59a922f2773f2d14b35a8d5df1ecffdf1ec7e2a13a7cf1dc5efa

See more details on using hashes here.

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

Hashes for fixitpy-0.2.13-py3-none-any.whl
Algorithm Hash digest
SHA256 d551c679194e9e5790b17225373f8c0a98439792d1a3409bd3e0ca6a91f605cf
MD5 7fb7ef181c5dac8741b403fa952a3d4a
BLAKE2b-256 09d6baa79fcba517da0589df81978546ad23eece73120ae046ea791012f725db

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