pokemontcg / pokemon-tcg-sdk-php Goto Github PK
View Code? Open in Web Editor NEWPokémon TCG SDK - PHP
License: MIT License
Pokémon TCG SDK - PHP
License: MIT License
We'll try do detail specific things to that needed to be done here for the package to support v2.0 of the API.
We can talk about what new technology that we can use and how to improve the current sdk. Talking about using a framework or a library to hasten the development is welcome as well.
I'm using the php sdk. The base set, for example, has 102 cards but when I do
Pokemon::Card($options)->where(['setCode' => $set->getCode()])->all();
it returns only 100 items. Is there a limit in the API or am I missing something?
Thanks!
Hi
I'd like to develop pokemon TCG app to manage my personal collection of cards with php/mysql.
Your code is fantastic but i prefer to have the images of the cards in local library, not requesting images.pokemontcg.io server
Is it possible?
Best
this does not find this card
$card = Pokemon::Card($options)->find('ex10-?');
below does find the card. is the ex10-? incorrect for this?
$card = Pokemon::Card($options)->where(['name' => 'Unown'])->where(['number' => '?'])->all();
Hey, thanks for the wrapper!
I see that you've added imageUrlHiRes to the project here on GitHub, but it doesn't look like that change made it into composer.
Provide a method to pass in raw query strings.
I found that code like this:
$cards = Pokemon::Card()->page($num)->pageSize($size)->all();
was causing a "no such method" error in VS Code on page and pageSize, but the code was still running as intended. Despite being only a mild inconvenience, I decided to address this in my latest commit on my personal fork of this SDK.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.