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
Metadata
Release files for IconProwl 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| IconProwl-1.1.1.tar.gz | 2.8 kB | Details |
Release files / IconProwl-1.1.1.tar.gz
| Download URL | IconProwl-1.1.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ffcb4da267f7676910dfe087ec1f5681a8c0fca2f7e2a70601adfb9ab1f3a63
|
|
BLAKE2b-256 checksum How to use checksums |
2fed9651077dd8bc1b52621de48a5f8071f118215dfdb8520999f1c34e88fdd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|