Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Simple, lightweight eBay Trading API Client.
Gemfile
:
gem 'ebay_client', '~> 0.3.0'
config/ebay_client.yml
:
development: &sandbox
api_keys:
- token: '<YOUR SANDBOX AUTHENTICATION TOKEN>'
devid: '<YOUR SANDBOX DEV ID>'
appid: '<YOUR SANDBOX APP ID>'
certid: '<YOUR SANDBOX CERT ID>'
test:
<<: *sandbox
production:
api_keys:
- token: '<YOUR LIVE AUTHENTICATION TOKEN>'
devid: '<YOUR LIVE DEV ID>'
appid: '<YOUR LIVE APP ID>'
certid: '<YOUR LIVE CERT ID>'
Fire up your console!
e.g. rails console
:
EbayClient.api.get_ebay_official_time!
# => {:timestamp=>Fri, 22 Nov 2013 12:31:02 +0000}
CamelCase
<=> snake_case
eBay
is mapped to ebay
, i.e. GeteBayOfficialTime
<=>
get_ebay_official_time
!
), i.e.
get_ebay_official_time
returns an EbayClient::Response
instance, which contains the ack
value, the payload
and possibly
errors
get_ebay_official_time!
returns the payload as a Hash
and raises
an EbayClient::Response::Exception
if the API returned an error.ebay_client.yml
. On initialization, the EbayClient will randomly
choose one of them. If you run out of API calls, it will automatically
switch to another key.ebay_client.yml
will be parsed
by the ERB interpreter.FAQs
Unknown package
We found that ebay_client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.