Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added README.md and updated ammo colors for Apex. #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Chaos02
Copy link

@Chaos02 Chaos02 commented Mar 6, 2022

TODO: Add All-Contributors to README.md
TODO: Find place for this code to get Weapon types:

import pandas as pd
import request

# Get Available weapontypes here!
        
        url = 'https://apexlegends.fandom.com/wiki/Weapon'
        html = requests.get(url).content
        table_list = pd.read_html(html)
        WeaponData = table_list[0]
        #print(WeaponData)
        #WeaponData.to_csv('WeaponData.csv') # TODO cache?
        
        # TODO in cv: Approximately match Weapon names to this list
        for i in range(len(WeaponData)):
           FullNames[i] = WeaponData.loc[i][0]
           WepTypes[i] = WeaponData.loc[i][1]
           WepAmmo[i] = WeaponData.loc[i][2]

Chaos02 added 2 commits March 6, 2022 20:54
`TODO: Use Color only for ammo types, display weapon type in interface instead:`
```Python
# Get Available weapontypes here!
        
        url = 'https://apexlegends.fandom.com/wiki/Weapon'
        html = requests.get(url).content
        table_list = pd.read_html(html)
        WeaponData = table_list[0]
        #print(WeaponData)
        #WeaponData.to_csv('WeaponData.csv') # TODO cache?
        
        # TODO in cv: Approximately match Weapon names to this list
        for i in range(len(WeaponData)):
           FullNames[i] = WeaponData.loc[i][0]
           WepTypes[i] = WeaponData.loc[i][1]
           WepAmmo[i] = WeaponData.loc[i][2]
 ```
Need to find appropriate place for this code...
TODO: implement All-Contributors.
@Chaos02 Chaos02 changed the title Added README.md and updated ammo colors. Added README.md and updated ammo colors for Apex. Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant