-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
dphuang2
committed
Mar 29, 2024
1 parent
dc77f4d
commit bfa6cac
Showing
48 changed files
with
21,060 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
import React from 'react'; | ||
import { Company } from '../../../components/Company'; | ||
|
||
const sdks = [ | ||
{ | ||
"name": "Milefy", | ||
"numberOfMethods": 18, | ||
"categories": [ | ||
"travel_expenses", | ||
"online_travel", | ||
"air_travel_loyalty_programs" | ||
], | ||
"index": "milefy/typescript", | ||
"language": "TypeScript", | ||
"link": "/sdk/30-k/milefy/typescript/", | ||
"developerDocumentation": "milefy-api-docs.30k.com/", | ||
"openapiGitHubUi": "https://github.com/konfig-sdks/openapi-examples/tree/HEAD/30-k/milefy/openapi.yaml" | ||
}, | ||
{ | ||
"name": "Milefy", | ||
"numberOfMethods": 18, | ||
"categories": [ | ||
"travel_expenses", | ||
"online_travel", | ||
"air_travel_loyalty_programs" | ||
], | ||
"index": "milefy/python", | ||
"language": "Python", | ||
"link": "/sdk/30-k/milefy/python/", | ||
"developerDocumentation": "milefy-api-docs.30k.com/", | ||
"openapiGitHubUi": "https://github.com/konfig-sdks/openapi-examples/tree/HEAD/30-k/milefy/openapi.yaml" | ||
}, | ||
{ | ||
"name": "Milefy", | ||
"numberOfMethods": 18, | ||
"categories": [ | ||
"travel_expenses", | ||
"online_travel", | ||
"air_travel_loyalty_programs" | ||
], | ||
"index": "milefy/java", | ||
"language": "Java", | ||
"link": "/sdk/30-k/milefy/java/", | ||
"developerDocumentation": "milefy-api-docs.30k.com/", | ||
"openapiGitHubUi": "https://github.com/konfig-sdks/openapi-examples/tree/HEAD/30-k/milefy/openapi.yaml" | ||
} | ||
]; | ||
|
||
export default function Sdk30K() { | ||
const allCategories: string[] = Array.from( | ||
new Set(sdks.flatMap((service) => service.categories)), | ||
) | ||
return ( | ||
<Company | ||
company="30K" | ||
previewLinkImage="https://raw.githubusercontent.com/konfig-sdks/openapi-examples/HEAD/30-k/milefy/imagePreview.jpg" | ||
logo="https://raw.githubusercontent.com/konfig-sdks/openapi-examples/HEAD/30-k/milefy/logo.png" | ||
favicon="https://raw.githubusercontent.com/konfig-sdks/openapi-examples/HEAD/30-k/milefy/favicon.png" | ||
sdks={sdks} | ||
homepage="30k.com" | ||
companyKebabCase="30-k" | ||
categories={allCategories} | ||
metaDescription={`30K is the only remaining independent provider of Fare Attribute and the only credible provider of Mileage Earning and Frequent Flyer Benefit data to help personalize flight search results for air travel shoppers. Proven increase in conversion for air travel retailers and happiness for travelers. | ||
- Reaching 2.3 M users per day, mainly in Europe, China and USA. | ||
- Voted "Best Business Travel Innovation" by GBTA in 2017. | ||
- One of top companies to watch in 2019 according to Amadeus.`} | ||
/> | ||
) | ||
} |
6 changes: 6 additions & 0 deletions
6
generator/konfig-docs/src/pages/sdk/30-k/milefy/typescript/_first-request.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
```typescript index.ts | ||
// Get program collection | ||
const getFrequentFlyerProgramsResponse = 30KMilefy.staticData.getFrequentFlyerPrograms({ | ||
authentication: "simple,none" | ||
}) | ||
``` |
15 changes: 15 additions & 0 deletions
15
generator/konfig-docs/src/pages/sdk/30-k/milefy/typescript/_getting-started.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
```typescript index.ts | ||
import { 30KMilefy } from '30-k-milefy-typescript-sdk'; | ||
|
||
const 30KMilefy = new 30KMilefy({ | ||
/* | ||
* We use SSL to transmit data from client to our service. You must authenticate client with provided API key passed as parameter in query string. [Don't have API key?](mailto:[email protected]) | ||
* | ||
* #### URL example | ||
* | ||
* ```https://milefy-api.30k.com/travelers?apiKey=eW91cmxvZ2luOnlvd``` | ||
* | ||
*/ | ||
apiKey: "API_KEY" | ||
}) | ||
``` |
Oops, something went wrong.