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.
twitter-request-headers
Advanced tools
This gem is intended to easily format Twitter API's Authorization
HTTP header.
Add this line to your application's Gemfile:
gem 'twitter-request-headers'
And then execute:
$ bundle
Or install it yourself as:
$ gem install twitter-request-headers
TwitterRequestHeaders.configure(
'KWZqnnFc8PPMjHOmXUpYNAMlI', # App ID
'7HqOlwq7petgYbZwYIznWvaW6gxykFEoiWTliNMCNKosut5VXS' # App Secret
)
TwitterRequestHeaders.new(
'150425432-3dAJqsCUXstN1kKgMwpFQGy9JtW6KgBeD30C1b4R', # OAuth Token
'YHwc8jkR2pKAISscibQdymNKaXR8dzDsAabQknaJdYs9l', # OAuth Secret
'GET',
'/users/show.json',
{'user_id' => '110425482'}
).header
Install development dependencies:
$ bundle install
And run minitest:
$ rake test
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that twitter-request-headers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.