Comments (8)
@moulibheemaneti I will prepare another repository for storing the images (maybe this weekend) and give you the link when I'm finished. If you are currently working on it, you can use the PokeAPI URL temporarily for now.
from flutter_pokedex.
Can I contact you through LinkedIn?
Sure, just send me a request
from flutter_pokedex.
Hi @moulibheemaneti,
Thank you for contributing. The host (pokemon.com) might prevent another website from using their images. I'm planning on cloning the image and hosting it in Github to solve this.
from flutter_pokedex.
I guess that would solve the problem. But I guess there will some limit for storing right?
from flutter_pokedex.
@moulibheemaneti Actually PokéAPI has done this (even much more images than we need to use in our app). We might simply clone their repo and remove unnecessary things. You can see the sprites that we need to clone here
You can try something like this to get the image URL: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/{pokemon-number}.png
For example: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/1.png
from flutter_pokedex.
@hungps woah. That's great. Let's do what you suggested.
from flutter_pokedex.
@hungps Can I contact you through LinkedIn?
from flutter_pokedex.
@moulibheemaneti I've forked the PokéAPI's sprites repository. You can now load the pokemon image by using this format:
https://raw.githubusercontent.com/hungps/flutter_pokedex_db/master/sprites/pokemon/other/official-artwork/{pokemon-number}.png
from flutter_pokedex.
Related Issues (20)
- Weird Graphics Glitches HOT 9
- Space between pokemon types on pokemon_info screen HOT 2
- Moving to the Android embedding v2
- Eternal progress indicator HOT 2
- Pokemon image is not showed when the internet connection has been lost HOT 3
- Migrating to null safety HOT 4
- Support for web and desktop app HOT 12
- Changing from Pokemon images to another images HOT 2
- Option for Dark Theme HOT 4
- There's a bug HOT 1
- Migrate from riverpod to flutter_bloc
- Feature: Dynamic titles for screens HOT 1
- Do cleaning using dart best practices
- Turn util files into a few libraries
- Create custom error classes HOT 1
- [Question] Location Widget HOT 1
- Usecases is not used? HOT 2
- Flutter web doesn't build HOT 4
- Error compiling this for linux HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_pokedex.