Skip to main content

Unofficial Wrapper for OLX API

Project description

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

OLX Api Wrapper

Simple client for OLX Developer API written in Python
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

OLX API Wrapper Image

OLX API Wrapper: Easy Solution for Working with OLX. With this Python library you can quickly fetch user data, handle adverts with simple CRUD operations, and seamlessly integrate with the OLX API. Simplify your development process and focus on building your app hassle-free.

(back to top)

Built With

  • Python
  • requests
  • dacite

(back to top)

Getting Started

In order to use OLX Api you nned to sign in at OLX Developer Portal and create an App. More details: https://developer.olx.pl/articles/getting-access-to-api

Prerequisites

To use this API Wrapper you need to copy Client ID and Client Secret. Store them in the safe place. In your code you can use them as enviroment variables, they sholdn't be hardcoded.

Installation

  1. Install olx-api-wrapper package
    pip install olx-api-wrapper
    
  2. In order to get access token you need to authenticate with authorization code. How to get authorization code?
    from olx import Auth
    auth = Auth(
      client_id="your_client_id",
      client_secret="your_client_secret",
    )
    auth.authenticate(code='authorization_code')
    access_token = auth.access_token
    

(back to top)

Usage

Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.

For more examples, please refer to the Documentation

(back to top)

Roadmap

  • Feature 1
  • Feature 2
  • Feature 3
    • Nested Feature

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Your Name - @twitter_handle - pawikoski@gmail.com

Project Link: https://github.com/Pawikoski/olx-api-wrapper

(back to top)

Acknowledgments

(back to top)

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

olx-api-wrapper-0.1.0.tar.gz (13.9 kB view details)

Uploaded Source

File details

Details for the file olx-api-wrapper-0.1.0.tar.gz.

File metadata

  • Download URL: olx-api-wrapper-0.1.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.4

File hashes

Hashes for olx-api-wrapper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b4c2f5de64d6573470835a17ae9a83fcb69a6b5f6897dc3b67155e20af64046e
MD5 58c80b541891281427eb6a527913e215
BLAKE2b-256 d8f4c5fe7a50b2759d9fc0b8d2cbe90dee2307ffdfa28ec7eb8c8b7bc10466d0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page