Socket
Book a DemoInstallSign in
Socket

yandex-delivery-api

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yandex-delivery-api

0.0.6
bundlerRubygems
Version published
Maintainers
1
Created
Source

Installation

Добавьте в Gemfile:

gem 'yandex-delivery-api', github: 'osetrov/yandex-delivery-api'

и запустите bundle install.

Затем:

rails g yandex_delivery:install

в файл config/yandex_delivery.yml вставьте ваши данные из настоек яндекс доставки:

https://delivery.yandex.ru/integration/index

Все возможные запросы: https://tech.yandex.ru/delivery/doc/dg/about-docpage/

Например "Получить варианты доставки":

params = {
    :city_from => 'Санкт-Петербург',
    :city_to => 'Москва',
    :delivery_type => 'todoor',
    :weight => 2,
    :length => 18,
    :width => 3,
    :height => 3,
    :order_cost => 1000
}

YandexDelivery::search_delivery_list params

secret_key, client_id, sender_id указывать в параметрах не обязательно.

FAQs

Package last updated on 31 Jul 2020

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.