Coder Social home page Coder Social logo

Comments (8)

hungps avatar hungps commented on May 14, 2024 1

@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.

hungps avatar hungps commented on May 14, 2024 1

@moulibheemaneti

Can I contact you through LinkedIn?

Sure, just send me a request

from flutter_pokedex.

hungps avatar hungps commented on May 14, 2024

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.

moulibheemaneti avatar moulibheemaneti commented on May 14, 2024

I guess that would solve the problem. But I guess there will some limit for storing right?

from flutter_pokedex.

hungps avatar hungps commented on May 14, 2024

@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.

moulibheemaneti avatar moulibheemaneti commented on May 14, 2024

@hungps woah. That's great. Let's do what you suggested.

from flutter_pokedex.

moulibheemaneti avatar moulibheemaneti commented on May 14, 2024

@hungps Can I contact you through LinkedIn?

from flutter_pokedex.

hungps avatar hungps commented on May 14, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.