Jump to content

What is API

FalconNavi

its what developers use to make games, software, applications, etc.

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, FalconNavi said:

Need to know what is api

It stands for application programming interface.

It's a way for one program to interact with another program.

 

For example, you could build a bit that can tweet out messages from scratch. Or you can use Twitter's API to use their premade templates for tweeting out a message and such.

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, GoodEnough said:

its what developers use to make games, software, applications, etc.

It really isn't, that would be an IDE.

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Master Disaster said:

It really isn't, that would be an IDE.

i simply was trying to come up with the simplest answer possible, so im sure you know where im coming from.

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, GoodEnough said:

i simply was trying to come up with the simplest answer possible, so im sure you know where im coming from.

That answer gave absolutely zero relevant information.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, GoodEnough said:

i simply was trying to come up with the simplest answer possible, so im sure you know where im coming from.

I'm sorry but I don't, your answer wasn't just simplified, it was straight up incorrect.

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

25 minutes ago, FalconNavi said:

Need to know what is api

It's pretty much a way to share functions between two different pieces of softwares without either of them knowing the code of the other or having complete access to it, only to partial parts.

 

Trying to ELI10:

 

George makes a software that generate random numbers between 1 and 10.

Josh is working on a game and needs a random number generator, and decide to use George's.

To not have direct access to the source code, George give Josh an API-access to his software. When Josh want a random number, now he just need to call George.RandomNumber() function in his program. Josh doesn't know anything about George software or code, but can access that particular function that he needed for his project.

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

By software to software, drivers also count which means API also give indirect access to hardware. For example, Direct3D is the video API inside DirectX which gives access to the GPU.

CPU: i7-2600K 4751MHz 1.44V (software) --> 1.47V at the back of the socket Motherboard: Asrock Z77 Extreme4 (BCLK: 103.3MHz) CPU Cooler: Noctua NH-D15 RAM: Adata XPG 2x8GB DDR3 (XMP: 2133MHz 10-11-11-30 CR2, custom: 2203MHz 10-11-10-26 CR1 tRFC:230 tREFI:14000) GPU: Asus GTX 1070 Dual (Super Jetstream vbios, +70(2025-2088MHz)/+400(8.8Gbps)) SSD: Samsung 840 Pro 256GB (main boot drive), Transcend SSD370 128GB PSU: Seasonic X-660 80+ Gold Case: Antec P110 Silent, 5 intakes 1 exhaust Monitor: AOC G2460PF 1080p 144Hz (150Hz max w/ DP, 121Hz max w/ HDMI) TN panel Keyboard: Logitech G610 Orion (Cherry MX Blue) with SteelSeries Apex M260 keycaps Mouse: BenQ Zowie FK1

 

Model: HP Omen 17 17-an110ca CPU: i7-8750H (0.125V core & cache, 50mV SA undervolt) GPU: GTX 1060 6GB Mobile (+80/+450, 1650MHz~1750MHz 0.78V~0.85V) RAM: 8+8GB DDR4-2400 18-17-17-39 2T Storage: HP EX920 1TB PCIe x4 M.2 SSD + Crucial MX500 1TB 2.5" SATA SSD, 128GB Toshiba PCIe x2 M.2 SSD (KBG30ZMV128G) gone cooking externally, 1TB Seagate 7200RPM 2.5" HDD (ST1000LM049-2GH172) left outside Monitor: 1080p 126Hz IPS G-sync

 

Desktop benching:

Cinebench R15 Single thread:168 Multi-thread: 833 

SuperPi (v1.5 from Techpowerup, PI value output) 16K: 0.100s 1M: 8.255s 32M: 7m 45.93s

Link to comment
Share on other sites

Link to post
Share on other sites

 

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to comment
Share on other sites

Link to post
Share on other sites

11 minutes ago, Master Disaster said:

I'm sorry but I don't, your answer wasn't just simplified, it was straight up incorrect.

haha, dont mind me, its 4 am and i havent gone to bed yet.

Link to comment
Share on other sites

Link to post
Share on other sites

10 minutes ago, 3rrant said:

Trying to ELI5:

 

George makes a software that generate random numbers between 1 and 10.

Josh is working on a game and needs a random number generator, and decide to use George's.

To not have direct access to the source code, George give Josh an API-access to his software. When Josh want a random number, now he just need to call George.RandomNumber() function in his program. Josh doesn't know anything about George software or code, but can access that particular function that he needed for his project.

 

 

A practical example would be the Philips HUE lamps.

Were running a Gira Homeserver for home automation. Client buys HUE lights and wants them to be controlled by his own touchscreen.

With the API that Philips provides its just a question for me to write a value to a lamp without me needing to know how HUE works.

 

So you have 2 very different systems connected by an API  HUE -> API <- KNX

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×