Socket
Socket
Sign inDemoInstall

stocksnap.io

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stocksnap.io - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "stocksnap.io",
"version": "0.1.0",
"version": "0.1.1",
"description": "A make-shift api interpreter for stocksnap.io",

@@ -5,0 +5,0 @@ "repository": {

@@ -16,5 +16,5 @@ node-stocksnap.io

options:(object) can contain:
* sort:(string) Source of images by sort by pages, can be relevance (when using a search query), date, trending, views, downloads and favorites.
* sort:(string) Choose which sorting page you're using, can be 'relevance' (when using a search query), 'date', 'trending', 'views', 'downloads' and 'favorites'.
* pages:(int) Amount of pages you want to rip.
* shuffle:(bool) If you want to shuffle the final array for a more random array of photos.
* shuffle:(bool) If you want to shuffle the final array for a more random array of photos.
* highres:(bool) If you want the image links referencing to the downloadable high res images instead of the thumbnails.

@@ -46,2 +46,7 @@

````
## Sidenote
When using the "highres" option in the api, you'll notice that you can't download the images going to the links or directly reference them in `<img>` tags.
This is because of the (genius) architecture of StockSnap.io. In order to download the higher res photo's you need to do a `POST` request to the links, instead of a `GET`.
## Contributing

@@ -48,0 +53,0 @@

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