This video shows how I'm uploading images for social networks in my Imgur account. I've written myself the class for images upload to Imgur using the official API.
You can see the upload class for Imgur API here https://gist.github.com/InterTuts/7f7620e5d20f85a8053d22143a83c5a9
You can see the upload class for Imgur API here https://gist.github.com/InterTuts/7f7620e5d20f85a8053d22143a83c5a9
Category
🦄
CreativityTranscript
00:00Uploaded images can be stored either on our server or an external server storage.
00:11For example, I use the Imgur API to upload images for social networks to my Imgur account.
00:24To upload images on my Imgur account, I'm using first the InMyView application,
00:38Axios and FormData object to send the image to the server.
00:49Here on the server, I'm using Django to save the image on the server.
01:04Now I can replace this method with this to upload the images on my Imgur account instead to save on the server.
01:26In the services.py file, I've written this class which upload the images to my Imgur account using the official API.
01:47I need just to provide the client ID and the image object to upload it in my account.