Skip to content

Commit

Permalink
Ajoutez des fichiers projet.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wyveth committed Apr 27, 2022
1 parent 1fc4ad8 commit 8084b5f
Show file tree
Hide file tree
Showing 16 changed files with 1,013 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
**/.classpath
**/.dockerignore
**/.env
**/.git
**/.gitignore
**/.project
**/.settings
**/.toolstarget
**/.vs
**/.vscode
**/*.*proj.user
**/*.dbmdl
**/*.jfm
**/azds.yaml
**/bin
**/charts
**/docker-compose*
**/Dockerfile*
**/node_modules
**/npm-debug.log
**/obj
**/secrets.dev.yaml
**/values.dev.yaml
LICENSE
README.md
57 changes: 57 additions & 0 deletions WebApiScrapingData.Domain/Class/DataJson.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
namespace WebApiScrapingData.Domain
{
[Serializable]
public class DataJson
{
//Numéro du Pokémon
public string number = "";

//Nom du Pokémon
public string name = "";

//Description du Pokémon Version X
public string descriptionVx = "";

//Description du Pokémon Version
public string descriptionVy = "";

//Url de l'Image
public string urlImg = "";

//Url du Sprite
public string urlSprite = "";

//Taille du Pokémon
public string size = "";

//Catégorie du Pokémon
public string category = "";

//Poids du Pokémon
public string weight = "";

//Talent du Pokémon
public string talent = "";

//Description du Talent
public string descriptionTalent = "";

//Nom des Types
public string types = "";

//Nom des Faiblesses
public string weakness = "";

//Evolution/Famille du Pokémon
public string evolution = "";

//Type Evolution : Normal, Méga, Gigamax, Alola, Galar, Variant
public string typeEvolution = "";

//Generation Number
public int generation = 0;

//Prochain Pokémon
public string nextUrl = "";
}
}
19 changes: 19 additions & 0 deletions WebApiScrapingData.Domain/Class/TypeJson.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WebApiScrapingData.Domain.Class
{
[Serializable]
public class TypeJson
{
public string name = "";
public string urlMiniGo = "";
public string urlFondGo = "";
public string urlMiniHome = "";
public string urlIconHome = "";
public string urlAutoHome = "";
}
}
9 changes: 9 additions & 0 deletions WebApiScrapingData.Domain/WebApiScrapingData.Domain.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
23 changes: 23 additions & 0 deletions WebApiScrapingData.XUnit/WebApiScrapingData.XUnit.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>

</Project>
37 changes: 37 additions & 0 deletions WepApiScrapingData.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.1.32328.378
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WepApiScrapingData", "WepApiScrapingData\WepApiScrapingData.csproj", "{358EE92D-846C-4BA0-9532-AE5C76F4E855}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WebApiScrapingData.Domain", "WebApiScrapingData.Domain\WebApiScrapingData.Domain.csproj", "{A3FF022B-8130-4FAC-B470-138B993DFA40}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApiScrapingData.XUnit", "WebApiScrapingData.XUnit\WebApiScrapingData.XUnit.csproj", "{4136FB54-716E-4380-883A-2DA9989611A1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{358EE92D-846C-4BA0-9532-AE5C76F4E855}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{358EE92D-846C-4BA0-9532-AE5C76F4E855}.Debug|Any CPU.Build.0 = Debug|Any CPU
{358EE92D-846C-4BA0-9532-AE5C76F4E855}.Release|Any CPU.ActiveCfg = Release|Any CPU
{358EE92D-846C-4BA0-9532-AE5C76F4E855}.Release|Any CPU.Build.0 = Release|Any CPU
{A3FF022B-8130-4FAC-B470-138B993DFA40}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A3FF022B-8130-4FAC-B470-138B993DFA40}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A3FF022B-8130-4FAC-B470-138B993DFA40}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A3FF022B-8130-4FAC-B470-138B993DFA40}.Release|Any CPU.Build.0 = Release|Any CPU
{4136FB54-716E-4380-883A-2DA9989611A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4136FB54-716E-4380-883A-2DA9989611A1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4136FB54-716E-4380-883A-2DA9989611A1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4136FB54-716E-4380-883A-2DA9989611A1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {07E577B0-50AB-495B-B514-2857A2879835}
EndGlobalSection
EndGlobal
Loading

0 comments on commit 8084b5f

Please sign in to comment.