noun
- a crystal with the properties of being able to find yourself and your wisdom
- the name of my API to make Apple device information available with ease
- A work-in-progress API server for Apple device specifications. This server is designed from the ground up to provide easy-to-use endpoints for integration into other projects (a great example is my own copy of CorpNewt's CorpBot.py)
Something that's capable of sending a GET request to a server, and receiving any of the following:
application/jsontext/plain- HTTP error codes
200,400,404,405,500
While the API works best when integrated into projects, the simplest way to get data from it is through a web browser.
Just send a GET request to one of the endpoints on https://labradorite.crystall1ne.dev:
/help - Return more detailed documentation in text/plain.
/api/v0/identifier - Return information on the passed identifier (i.e. iPhone17,2).
/api/v0/model - Return information on the passed model number (i.e. A3084).
/api/v0/boardconfig - Return information on the passed boardconfig (i.e. D94AP).
For running the API server on your own device, you'll need to have one of the following operating systems1:
I'm not currently taking contributions for the data available on my server. If you want to know when I will be, hit up the #labradorite channel in my Discord server.
- Clone this repo
- Open
Codesigning.example.xcconfig, make changes, and save it asCodesigning.xcconfig. - Open
Labradorite.xcworkspace - Select
Labradorite-Server - Build
labradorite-server!
Footnotes
-
The source code is written with zero third-party frameworks and no OS-specific code, which means that it should work on Windows, Linux, and older versions of macOS, iOS, or tvOS. I don't personally test or use the API server on these operating systems, and future development may change this case. ↩
-
Running the API server on iOS or tvOS requires a jailbreak. ↩ ↩2