Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kakaopy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kakaopy

kakao search API customizing

  • 0.2.0
  • PyPI
  • Socket score

Maintainers
1

kakaopy

Installation

  1. install from PyPI
pip install kakaopy
  1. install from cloned repository
git clone https://github.com/SeoJeongYeop/kakaopy.git
cd kakaopy
pip install .

However, this way occur warning 'DEPRECATION' This way is removed from pip 21.3 version

  1. install from GitHub repository
pip install git+https://github.com/SeoJeongYeop/kakaopy.git

Usage

  1. from kakaopy import kakaopy
from kakaopy import kakaopy
  1. set your REST_API_KEY
kakaopy.setHeader('YOUR_REST_API_KEY')
  1. make object

e.g. doc, video, image, book, blog, cafe

doc1 = kakaopy.doc()
  1. (option) setting object option.

e.g. size, page, sort, target(only book)

doc1.setSort("recency")

More information can be found through object.help() function.

doc1.help()

help function

  1. object.search(query): search query and return search results in the form of json.
doc1.search("python")
  1. object.save(query, path): save file.json in path. The 'path' is the file name or path to the file.
doc1.save(query = "web crawling", path = "web.json")

is same as

doc1.save(query = "web crawling", path = "web")

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc