Articles | CCTV Footage | Profile | Register | PM's | Search | Advertise | Login
CCTV Forum Index » IP Cameras and Software Solutions
what is an API?
Jump to:  
Post new topic Reply to topic
jhonovich



Posts: 117
Joined: 18 Apr 2008


Post Posted: Mon May 12, 2008 12:17 am     Post subject: what is an API?
  Reply with quote      
I often get asked the question of what is an api and how do i use one?

I decided to write up a tutorial on some of the gotchas and key challenges in using APIs: http://ipvideomarket.info/review/show/20


My key points include:
Lesson #1: No such thing as 'an' API
Lesson #2: Not all Functions have an API
Lesson #3: Having an API does not mean it will work with your system
Lesson #4: Doing the Integration Takes Time
Lesson #5: API Changes can Break You
Lesson #6: Your Stuck with what the API does


Any idea for other valuable lessons that should be shared?

Best,

John
_________________
IP Video Market Info
CCTV/IP Video News and Reviews
Send private message View user's profile Send e-mail


rory

Moderator & Founding Member

Posts: 14216
Joined: 10 Nov 2003
Location: Bahamas

Post Posted: Mon May 12, 2008 12:41 am     Post subject:
  Reply with quote      
Are you talking about Software API's?
_________________
BahamasSecurity.com - Bahamas Real Estate - Bahamas Yellow Pages
Send private message View user's profile Visit poster's website
jhonovich



Posts: 117
Joined: 18 Apr 2008


Post Posted: Mon May 12, 2008 12:42 am     Post subject:
  Reply with quote      
Yes. What type of APIs are you thinking of besides software APIs?
_________________
IP Video Market Info
CCTV/IP Video News and Reviews
Send private message View user's profile Send e-mail
rory

Moderator & Founding Member

Posts: 14216
Joined: 10 Nov 2003
Location: Bahamas

Post Posted: Mon May 12, 2008 12:52 am     Post subject:
  Reply with quote      
Thats all I could think of, but in your link you mentioned Physical security.
Only software developers should be concerned.

An API gives us access to source code provided by the creator of the API, the most common being the Windows API. A single API can have various functions, for examples: http://en.wikipedia.org/wiki/Windows_API

Code:

Declare Function RegCreateKey Lib "advapi32.dll" Alias "RegCreateKeyA" (ByVal hKey As Long, ByVal lpSubKey As String, ...
Declare Function RegCloseKey Lib "advapi32.dll" (ByVal hKey As Long) As Long

_________________
BahamasSecurity.com - Bahamas Real Estate - Bahamas Yellow Pages
Send private message View user's profile Visit poster's website
jhonovich



Posts: 117
Joined: 18 Apr 2008


Post Posted: Mon May 12, 2008 12:57 am     Post subject:
  Reply with quote      
Well, I mention physical security because APIs will be used to support physical security goals.

While I agree that software developers will be the only individuals directly using the APIs, a lot of people are affected by the use of APIs.

Security managers are affected by how well the integration using APIs work.

Sales people are affected by what type of integrations they can sell.

System engineers are affected by what type of designs they can recommend.
_________________
IP Video Market Info
CCTV/IP Video News and Reviews
Send private message View user's profile Send e-mail
rory

Moderator & Founding Member

Posts: 14216
Joined: 10 Nov 2003
Location: Bahamas

Post Posted: Mon May 12, 2008 1:04 am     Post subject:
  Reply with quote      
True .. yes they do limit us though short of them giving us their code, we're stuck with that .. as well as ActiveX controls. Developers just have to get more creative is all, by creating alot of their own procedures, as most already do Smile

BTW, Test your XP Boot time: Very Happy
http://forum.eeeuser.com/viewtopic.php?pid=245244#p245244
_________________
BahamasSecurity.com - Bahamas Real Estate - Bahamas Yellow Pages
Send private message View user's profile Visit poster's website
Options and Permissions


Display posts from previous:

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
Page 1 of 1 .:. Post new topic Reply to topic