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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fixitpy-0.2.6.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.6.tar.gz
Algorithm Hash digest
SHA256 53cc29961425369cfce61cc4fc32d09087d8d5ee03196d4bcefa0ee4b08d37fe
MD5 38048a69821f0142e190160a883665c3
BLAKE2b-256 2aed0592c658a0494f4b5ac850220bec9c5e2ffe13940504a0b10d97a093c3e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fixitpy-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 3.2 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 50345e70fd4f3e8bbf6b9be619b331d42a04d4eea1923c3e58c0888d619369d3
MD5 e6ad0dcf358ad1945f584dbf303b2dbc
BLAKE2b-256 aa52ed127ef0a07c7542b392e03e3cc9136f2ce925cca698945195cdb086ccbc

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