🚀 About
Arnelify® SDK for Python - provides a convenient interface for interacting with the Arnelify API
WARNING! This is an initial version of the package, and it is still under active development.
⚙️ Before install
- MacOS or Linux
- Windows with WSL2
- Docker
- Git
📦 Installation
Download SDK via Git command:
$ git clone git@github.com:taronsarkisyan/cvmaker-sdk.git
Create .env and insert API key from Arnelify:
$ cd ./cvmaker-sdk
$ cp ./.env.local ./.env
Open SDK-container:
$ docker compose up -d
$ docker ps
$ docker exec -it YOUR_CONTAINER_ID bash
Install dependencies:
$ yarn install
See the Target Class:
$ cat ./src/core/cvmaker.js
🚀 Usage
Lets run our sample app:
$ yarn start
Release Notes
Version 0.5.0 - Release
We are excited to introduce the first version of the Arnelify SDK. Target class is located in the ./src/core directory and is utilized in the ./src/index.js srcipt. You can further use it in any of your projects.
Key Features:
- Basic functionality
- Easy integration
The script reads, downloads, and writes files to disk. Please check the read and write permissions for files in the container.
Generate Payload
API URL:
https://cv.arnelify.com/api/v0.5/generate
Payload example (application/json)
{
user_token: 'your-token-here',
description: 'your-job-description',
}
You can also find an example of code in bash:
./src/examples/generate.sh
Generate for fake User
API URL:
https://cv.arnelify.com/api/v0.5/generate
Payload example (application/json):
{
"user_token": "your-token",
"description": "your-job-description",
"first_name": "Artur",
"last_name": "Doyle",
"country": "USA",
"city": "New York",
"education": "[{\"key\":\"New York Academy\",\"value\":\"2009 - 2016\"}]",
"customers": "[{\"key\":\"Apple\",\"value\":\"Jan 2022 - Present (2 years)\"},{\"key\":\"Google\",\"value\":\"Jan 2020 - Jan 2022 (2 years)\"},{\"key\":\"Meta\",\"value\":\"Jan 2018 - Jan 2020 (2 years)\"}]",
"languages": "[{\"key\":\"English\",\"value\":\"B2/C1\"},{\"key\":\"German\",\"value\":\"B1\"},{\"key\":\"Ukrainian\",\"value\":\"C2\"}]",
"contacts": "[{\"key\":\"Mobile\",\"value\":\"+1XXXXXXXXXX\"},{\"key\":\"E-Mail\",\"value\":\"artur@example.com\"},{\"key\":\"LinkedIn\",\"value\":\"https://linkedin.com\"}]",
"managed": "1",
"language": "en"
}
You can also find an example of code in bash:
./src/examples/generateForFakeUser.sh
Response Examples
Success Response:
{
code: 200, //always 200
success: "https://download-link-for-pdf" //always has success
}
Error Response:
{
code: 409, //not only 409
error: "Conflict" //always has error message (string)
}
Metadata
Release files for arnelify 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| arnelify-0.5.0.tar.gz | 22.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arnelify-0.5.0-cp311-cp311-manylinux2014_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.17+ x86-64 | Details |
Total release size: 610.2 kB
Release files / arnelify-0.5.0.tar.gz
| Download URL | arnelify-0.5.0.tar.gz |
|---|---|
| Size | 22.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66550b5082904ba73c1febf8c24fc5e0d9db060ed8c4dadd90b3f1fc67ebcb40
|
|
BLAKE2b-256 checksum How to use checksums |
9ce7bbe47b3d8cc387163b9789f13fc2d09efc7423bb4e0d0937bb6130b02bca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.2
|
Release files / arnelify-0.5.0-cp311-cp311-manylinux2014_x86_64.whl
| Download URL | arnelify-0.5.0-cp311-cp311-manylinux2014_x86_64.whl |
|---|---|
| Size | 587.7 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
2aeb1b8715e80e39c5807fa59e06cefd23558a98aacf4418ecda0a1f1a1803fd
|
|
BLAKE2b-256 checksum How to use checksums |
a1132ccffccead2ec14af5e4c72e329c1616b37b2a11a5b2ff8aed1265d28856
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.2
|