A Twitter bot written in Python which uses the Tweepy library
The bot creates a Fifa Ultimate Team card when Twitter users make a request
Request Tweets must be in a specific format
Users can chose from a selection of cards, country flags and club badges which are listed in the resources section
In order to get the bot to generate a FUT card you must 'mention' the bot in a tweet e.g. @futcardcreator
and the parameters must be in a specific format:
[Name, Position, Club Number, Country Code, Overall, PAC, DRI, SHO, DEF, PAS, PHY, Card Code, Language Code]
- The values for PAC, DRI, SHO, DEF, PAS and PHY must be between 0 and 99 (inclusive)
- Club number, country code and card code must be among the resources supported (resources section)
- Language code is optional and must be one of the languages supported (supported languages)
- If no language code is specified then English is used as the default
- The position must be among the valid positions within the language code (valid positions for each language)
@futcardcreator [Messi,RW,241,AR,94,88,96,91,32,88,61,RARE_GOLD]
(along with an image of Messi attached to the tweet) will generate the card shown on the right
It is valid to add (or omit) a space after each comma between the square brackets in the request tweet e.g:
@futcardcreator [Messi, RW, 241, AR, 94, 88, 96, 91, 32, 88, 61, RARE_GOLD]
All below examples assume an image has been attached to the request tweet.
⬇️ Have a go ⬇️
The following languages are currently supported:
Language | Code | |
---|---|---|
English | * | |
Spanish | ES | |
Portuguese | PT | |
German | DE | |
Italian | IT |
* The language code for English is EN however no language code is actually required in the tweet if you require the output image to have English text
The bot is able to convert an English position to any of the other supported languages.
E.g. If you request a card with the position set to RW
and the language set to ES
like below
@futcardcreator [Messi, RW, 241, AR, 99, 99, 99, 99, 99, 99, 99, UCL_MOTM, ES]
then the bot will convert the position to its equivalent in the chosen language and will also use the attribute labels from the chosen language in the final output image:
English
English |
---|
GK |
LB |
LWB |
CB |
RB |
RWB |
LM |
CDM |
CM |
CAM |
RM |
LW |
RW |
LF |
CF |
RF |
ST |
Spanish
English | Spanish |
---|---|
GK | XYZ |
LB | XYZ |
LWB | XYZ |
CB | XYZ |
RB | XYZ |
RWB | XYZ |
LM | XYZ |
CDM | XYZ |
CM | XYZ |
CAM | XYZ |
RM | XYZ |
LW | XYZ |
RW | XYZ |
LF | XYZ |
CF | XYZ |
RF | XYZ |
ST | XYZ |
Portuguese
English | Portuguese |
---|---|
GK | XYZ |
LB | XYZ |
LWB | XYZ |
CB | XYZ |
RB | XYZ |
RWB | XYZ |
LM | XYZ |
CDM | XYZ |
CM | XYZ |
CAM | XYZ |
RM | XYZ |
LW | XYZ |
RW | XYZ |
LF | XYZ |
CF | XYZ |
RF | XYZ |
ST | XYZ |
German
English | German |
---|---|
GK | XYZ |
LB | XYZ |
LWB | XYZ |
CB | XYZ |
RB | XYZ |
RWB | XYZ |
LM | XYZ |
CDM | XYZ |
CM | XYZ |
CAM | XYZ |
RM | XYZ |
LW | XYZ |
RW | XYZ |
LF | XYZ |
CF | XYZ |
RF | XYZ |
ST | XYZ |
Italian
English | Italian |
---|---|
GK | XYZ |
LB | XYZ |
LWB | XYZ |
CB | XYZ |
RB | XYZ |
RWB | XYZ |
LM | XYZ |
CDM | XYZ |
CM | XYZ |
CAM | XYZ |
RM | XYZ |
LW | XYZ |
RW | XYZ |
LF | XYZ |
CF | XYZ |
RF | XYZ |
ST | XYZ |
When making a request to the bot to generate a FUT card, you can attach an image in the request tweet which will prompt the bot to use the image in the generated FUT card.
For best results use an image with a transparent background a 1:1 aspect ratio (square format) like the example shown on the right
If you wish to use dynamic images then see (the section below)
Dynamic images are special images used on FUT cards
These cards are not the usual headshot style images used on normal FUT cards
Dynamic images can be found via a quick google search for <player name> fut png
and they will usually be 485 Ă— 567
in size
A dynamic image can be identified by the soft gradient towards the bottom of the image
In order to use a dynamic image for the creation of a FUT card make sure to use the --dynamic
flag in the request tweet e.g.
@futcardcreator [Messi, RW, 241, AR, 99, 97, 99, 99, 45, 98, 85, TOTY] --dynamic
Below are the image resources (cards, club badges and country flags) which can currently be rendered.
Collapsible Section
Collapsible Section
Collapsible Section