IconProwl : An unofficial API for scraping images off IconFinder.com for web development.
Project description
IconProwl : An unofficial API for scraping images off IconFinder for web development.
Initiate the Class
#To scrape for normal icons , create an instance of the class IconFinder with the name of the image to search , for example :
from IconProwl import IconProwl # Import the class from the package
find_icon=IconProwl.IconFinder("mail")
1 : Scrape web links of images
#To scrape for links of images , call the images() function from the initialized class , for example :
find_icon=IconProwl.IconFinder("mail")
find_icon.images()
2 : Get Links to download and edit images
#To scrape for links of images to download locally , call the get_links() function from the initialized class , for example :
find_icon=IconProwl.IconFinder("mail")
find_icon.get_links()
3: Show/Display a particular Icon
#To display an Icon , call the show_image(image_number:int) function from the initialized class , for example :
find_icon=IconProwl.IconFinder("mail")
find_icon.show_image(2) # Shows the second image from all scraped images
4 : Download an icon
#To download an icon locally , call the save_image(path:str,image_number:int) function from the initialized class , for example :
find_icon=IconProwl.IconFinder("mail")
find_icon.save_image("/Users/myname/Desktop/x.jpeg",6) # Saves the 6th image in the Desktop as x.jpeg
There is also a class for 3D images.
#To scrape for links of images , call the images() function from the initialized class , for example :
from IconProwl import IconProwl # Import the 3D class
find_icon=IconProwl.IconFinder3D("mail")
#All functions are the same as for the IconFinder Class.....
Examples :
Made with Python and BeautifulSoup
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
IconProwl-1.1.1.tar.gz
(2.8 kB
view details)
File details
Details for the file IconProwl-1.1.1.tar.gz.
File metadata
- Download URL: IconProwl-1.1.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ffcb4da267f7676910dfe087ec1f5681a8c0fca2f7e2a70601adfb9ab1f3a63
|
|
| MD5 |
864c90530084aa9624b8e66961327180
|
|
| BLAKE2b-256 |
2fed9651077dd8bc1b52621de48a5f8071f118215dfdb8520999f1c34e88fdd3
|